다음을 통해 공유


GetServerObject 메서드

Returns the Server object that represents the instance of SQL Server on which the dependency discovery operation is running.

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

구문

‘선언
Protected Function GetServerObject As Server
‘사용 방법
Dim returnValue As Server

returnValue = Me.GetServerObject()
protected Server GetServerObject()
protected:
Server^ GetServerObject()
member GetServerObject : unit -> Server 
protected function GetServerObject() : Server

반환 값

유형: Microsoft.SqlServer.Management.Smo. . :: . .Server
A Server object value that specifies the instance of SQL Server.