ISfcHasConnection.GetConnection 메서드 (SfcObjectQueryMode)

Indicates the connection to get using the SfcObjectQuery mode.

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

구문

‘선언
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Private Function GetConnection ( _
    mode As SfcObjectQueryMode _
) As ISfcConnection Implements ISfcHasConnection.GetConnection
‘사용 방법
Dim instance As PolicyStore
Dim mode As SfcObjectQueryMode
Dim returnValue As ISfcConnection

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

반환 값

유형: Microsoft.SqlServer.Management.Common. . :: . .ISfcConnection
The ISfcConnection to get using the SfcObjectQuery mode.

구현

ISfcHasConnection. . :: . .GetConnection(SfcObjectQueryMode)