다음을 통해 공유


ISfcHasConnection.GetConnection 메서드 (SfcObjectQueryMode)

지정한 쿼리 처리 모드를 지원하는 지원 저장소에 대한 서버 연결을 가져옵니다.

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

구문

‘선언
Private Function GetConnection ( _
    activeQueriesMode As SfcObjectQueryMode _
) As ISfcConnection Implements ISfcHasConnection.GetConnection
‘사용 방법
Dim instance As CollectorConfigStore
Dim activeQueriesMode As SfcObjectQueryMode
Dim returnValue As ISfcConnection

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

매개 변수

반환 값

유형: Microsoft.SqlServer.Management.Common. . :: . .ISfcConnection
ISfcConnection 를 반환합니다. 서버 연결을 포함하는 ISfcConnection 개체입니다.

구현

ISfcHasConnection. . :: . .GetConnection(SfcObjectQueryMode)