Click or drag to resize

ProtocolOptionsSetMaxProtocolVersion Method (ProtocolVersion)

Sets the maximum protocol version to be used. When set, it limits the maximum protocol version used to connect to the nodes. Useful for using the driver against a cluster that contains nodes with different major/minor versions of Cassandra.

Namespace:  Cassandra
Assembly:  Cassandra (in Cassandra.dll) Version: 3.11.0
Syntax
C#
public ProtocolOptions SetMaxProtocolVersion(
	ProtocolVersion value
)

Parameters

value
Type: CassandraProtocolVersion

Return Value

Type: ProtocolOptions
See Also