RegisteredServersStore.ISfcHasConnection.GetConnection 메서드

Gets a connection of the ISfcConnection object. This class cannot be inherited.

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

구문

‘선언
Private Function GetConnection As ISfcConnection 
    Implements ISfcHasConnection.GetConnection
‘사용 방법
Dim instance As RegisteredServersStore 
Dim returnValue As ISfcConnection 

returnValue = CType(instance, ISfcHasConnection).GetConnection()
ISfcConnection ISfcHasConnection.GetConnection()
private:
virtual ISfcConnection^ GetConnection() sealed = ISfcHasConnection::GetConnection
private abstract GetConnection : unit -> ISfcConnection  
private override GetConnection : unit -> ISfcConnection
JScript는 명시적 인터페이스 구현의 사용을 지원하지만 새로운 명시적 인터페이스 구현의 선언은 지원하지 않습니다.

반환 값

유형: Microsoft.SqlServer.Management.Common.ISfcConnection
A ISfcConnection object.

구현

ISfcHasConnection.GetConnection()

주의

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

참고 항목

참조

RegisteredServersStore 클래스

GetConnection 오버로드

Microsoft.SqlServer.Management.RegisteredServers 네임스페이스