Partager via


Propriété UIConnectionInfo.ServerVersion

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

Ne faites pas directement référence à 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.

Voir aussi

Référence

UIConnectionInfo Classe

Espace de noms Microsoft.SqlServer.Management.Smo.RegSvrEnum