CqlConnectionServerVersion Property |
Gets a string that represents the version of the server to which the object is connected.
Namespace: Dse.DataAssembly: Dse (in Dse.dll) Version: 2.1.0
Syntax public override string ServerVersion { get; }
Return Value
Type:
StringThe version of the database. The format of the string returned depends on the specific type of connection you are using.
Exceptions Exception | Condition |
---|
InvalidOperationException | ServerVersion was called while the returned Task was not completed and the connection was not opened after a call to OpenAsync. |
See Also