Partager via


Propriété ServerVersion

Cette API prend en charge l'infrastructure et n'est pas destinée à être utilisée directement à partir de votre code.

Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. Gets or sets a ServerVersion object that specifies the version of the instance of the Database Engine for the connection.

Espace de noms :  Microsoft.SqlServer.Management.Smo.RegSvrEnum
Assembly :  Microsoft.SqlServer.RegSvrEnum (en Microsoft.SqlServer.RegSvrEnum.dll)

Syntaxe

'Déclaration
Public Property ServerVersion As ServerVersion
    Get
    Set
'Utilisation
Dim instance As UIConnectionInfo
Dim value As ServerVersion

value = instance.ServerVersion

instance.ServerVersion = value
public ServerVersion ServerVersion { get; set; }
public:
property ServerVersion^ ServerVersion {
    ServerVersion^ get ();
    void set (ServerVersion^ value);
}
member ServerVersion : ServerVersion with get, set
function get ServerVersion () : ServerVersion
function set ServerVersion (value : ServerVersion)

Valeur de propriété

Type : Microsoft.SqlServer.Management.Common. . :: . .ServerVersion
A ServerVersion object that specifies the version of the instance of the Database Engine for the connection.