Share via


IntegrationServices.ISfcHasConnection.GetConnection 메서드 (SfcObjectQueryMode)

Retrieves the current connection to query on. Returns a connection supporting either a single serial query or multiple simultaneously open queries as requested.

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

구문

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

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

매개 변수

반환 값

유형: Microsoft.SqlServer.Management.Common.ISfcConnection
The connection to use, or nullnull 참조(Visual Basic에서는 Nothing) to use cache mode. Cache mode avoids connection and open data reader issues.

구현

ISfcHasConnection.GetConnection(SfcObjectQueryMode)

참고 항목

참조

IntegrationServices 클래스

GetConnection 오버로드

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