Click or drag to resize

ProtocolOptionsSetCompression Method

Sets the compression to use.

Note that while this setting can be changed at any time, it will only apply to newly created connections.

Namespace:  Dse
Assembly:  Dse (in Dse.dll) Version: 2.6.0
Syntax
C#
public ProtocolOptions SetCompression(
	CompressionType compression
)

Parameters

compression
Type: DseCompressionType
the compression algorithm to use (or Compression.NONE to disable compression).

Return Value

Type: ProtocolOptions
this ProtocolOptions object.
See Also