次の方法で共有


. メソッド ()

このメソッドは、内部でのみ使用されます。

名前空間:  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 は明示的なインターフェイス実装の使用をサポートしていますが、新規の宣言はサポートしていません。

パラメーター

  • activeQueriesMode
    型: SfcObjectQueryMode
    使用するアクティブ クエリ モードを示す SfcObjectQueryMode 値です。

実装

ISfcHasConnectionGetConnection(SfcObjectQueryMode)