Share via


ServerConnection.ISfcConnection.ServerVersion Property

Gets the version of the server.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Syntax

'Declaration
Private ReadOnly Property ServerVersion As Version 
    Implements ISfcConnection.ServerVersion 
    Get
'Usage
Dim instance As ServerConnection 
Dim value As Version 

value = CType(instance, ISfcConnection).ServerVersion
Version ISfcConnection.ServerVersion { get; }
private:
virtual property Version^ ServerVersion {
    Version^ get () sealed = ISfcConnection::ServerVersion::get;
}
private abstract ServerVersion : Version 
private override ServerVersion : Version
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Property Value

Type: Version
The Version of the server.

Implements

ISfcConnection.ServerVersion

See Also

Reference

ServerConnection Class

Microsoft.SqlServer.Management.Common Namespace