ScriptingOptions.ConvertVersion Método
Converts the server version to a SqlServerVersion value.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
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 devuelto
Tipo: Microsoft.SqlServer.Management.Smo.SqlServerVersion
A SqlServerVersion value specifying the version of the server.