다음을 통해 공유


CheckServerVersion 메서드

Checks the version of the target instance of SQL Server.

네임스페이스:  Microsoft.SqlServer.Management.Common
어셈블리:  Microsoft.SqlServer.ConnectionInfo(Microsoft.SqlServer.ConnectionInfo.dll)

구문

‘선언
Protected Sub CheckServerVersion ( _
    version As ServerVersion _
)
‘사용 방법
Dim version As ServerVersion

Me.CheckServerVersion(version)
protected void CheckServerVersion(
    ServerVersion version
)
protected:
void CheckServerVersion(
    ServerVersion^ version
)
member CheckServerVersion : 
        version:ServerVersion -> unit 
protected function CheckServerVersion(
    version : ServerVersion
)

매개 변수

주의

This method throws a ConnectionFailureException error if the target server version is SQL Server 7.0 or an earlier version.