다음을 통해 공유


ConvertVersion 메서드

Converts the server version to a SqlServerVersion value.

네임스페이스:  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

매개 변수

반환 값

유형: Microsoft.SqlServer.Management.Smo. . :: . .SqlServerVersion
A SqlServerVersion value specifying the version of the server.