Propriété ISfcConnection.ServerVersion

Gets the version of the server.

Espace de noms :  Microsoft.SqlServer.Management.Common
Assembly :  Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)

Syntaxe

'Déclaration
Private ReadOnly Property ServerVersion As Version
    Implements ISfcConnection.ServerVersion
    Get
'Utilisation
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 prend en charge l'utilisation d'implémentations d'interface explicites, mais pas la déclaration de nouvelles implémentations d'interface.

Valeur de propriété

Type : System. . :: . .Version
The Version of the server.

Implémente

ISfcConnection. . :: . .ServerVersion