Méthode GetServerVersion
Ne référencez pas directement 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
Function GetServerVersion ( _
conn As Object _
) As ServerVersion
'Utilisation
Dim instance As ISupportVersions
Dim conn As Object
Dim returnValue As ServerVersion
returnValue = instance.GetServerVersion(conn)
ServerVersion GetServerVersion(
Object conn
)
ServerVersion^ GetServerVersion(
Object^ conn
)
abstract GetServerVersion :
conn:Object -> ServerVersion
function GetServerVersion(
conn : Object
) : ServerVersion
Paramètres
- conn
Type : System. . :: . .Object
An object that represents the connection.
Valeur de retour
Type : Microsoft.SqlServer.Management.Common. . :: . .ServerVersion
The version of the server.
Voir aussi