Método ScriptingOptions.ConvertVersion
Converts the server version to a SqlServerVersion value.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Shared Function ConvertVersion ( _
version As Version _
) As SqlServerVersion
'Uso
Dim version As Version
Dim returnValue As SqlServerVersion
returnValue = ScriptingOptions.ConvertVersion(version)
public static SqlServerVersion ConvertVersion(
Version version
)
public:
static SqlServerVersion ConvertVersion(
Version^ version
)
static member ConvertVersion :
version:Version -> SqlServerVersion
public static function ConvertVersion(
version : Version
) : SqlServerVersion
Parâmetros
- version
Tipo: System.Version
The version of the server.
Valor de retorno
Tipo: Microsoft.SqlServer.Management.Smo.SqlServerVersion
A SqlServerVersion value specifying the version of the server.