ProtocolOptionsSetMaxProtocolVersion Method |
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: CassandraAssembly: Cassandra (in Cassandra.dll) Version: 3.0.9 (git 5ca22bb)
Syntax public ProtocolOptions SetMaxProtocolVersion(
byte value
)
Parameters
- value
- Type: SystemByte
Return Value
Type:
ProtocolOptionsSee Also