다음을 통해 공유


GetConnectionObject 메서드

Returns the SFC interface object that represents the connection to the instance of SQL Server.

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

구문

‘선언
Public Function GetConnectionObject As ISfcConnection
‘사용 방법
Dim instance As RegisteredServer
Dim returnValue As ISfcConnection

returnValue = instance.GetConnectionObject()
public ISfcConnection GetConnectionObject()
public:
ISfcConnection^ GetConnectionObject()
member GetConnectionObject : unit -> ISfcConnection 
public function GetConnectionObject() : ISfcConnection

반환 값

유형: Microsoft.SqlServer.Management.Common. . :: . .ISfcConnection
A ISfcConnection interface object value that represents the connection to the instance of SQL Server.

주의

이 네임스페이스, 클래스 또는 멤버는 Microsoft .NET Framework 2.0 버전에서만 지원됩니다.