Observação
O acesso a essa página exige autorização. Você pode tentar entrar ou alterar diretórios.
O acesso a essa página exige autorização. Você pode tentar alterar os diretórios.
Retrieves the server version for the server with the given connection. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (em Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Sintaxe
'Declaração
Public Shared Function GetServerVersion ( _
con As Object _
) As ServerVersion
'Uso
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
Parâmetros
- con
Tipo: System.Object
The specified connection.
Valor de retorno
Tipo: Microsoft.SqlServer.Management.Common.ServerVersion
The server version for the server with the given connection.