Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Retrieves the server version for the server with the given connection. Ne faites pas directement référence à ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Espace de noms : Microsoft.SqlServer.Management.Sdk.Sfc
Assembly : Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntaxe
'Déclaration
Public Shared Function GetServerVersion ( _
con As Object _
) As ServerVersion
'Utilisation
Dim con As Object
Dim returnValue As ServerVersion
returnValue = ExecuteSql.GetServerVersion(con)
public static ServerVersion GetServerVersion(
Object con
)
public:
static ServerVersion^ GetServerVersion(
Object^ con
)
static member GetServerVersion :
con:Object -> ServerVersion
public static function GetServerVersion(
con : Object
) : ServerVersion
Paramètres
- con
Type : System.Object
The specified connection.
Valeur de retour
Type : Microsoft.SqlServer.Management.Common.ServerVersion
The server version for the server with the given connection.