CollectorConfigStore.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)

関連項目

参照

CollectorConfigStore クラス

GetConnection オーバーロード

Microsoft.SqlServer.Management.Collector 名前空間