Click or drag to resize
CqlConnectionServerVersion Property
Gets a string that represents the version of the server to which the object is connected.

Namespace: Dse.Data
Assembly: Dse (in Dse.dll) Version: 2.1.0
Syntax
C#
public override string ServerVersion { get; }

Return Value

Type: String
The version of the database. The format of the string returned depends on the specific type of connection you are using.
Exceptions
ExceptionCondition
InvalidOperationExceptionServerVersion was called while the returned Task was not completed and the connection was not opened after a call to OpenAsync.
See Also