ConvertVersion 方法
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Shared Function ConvertVersion ( _
version As Version _
) As SqlServerVersion
'用途
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
參數
- version
型別:System. . :: . .Version