CollectorConfigStore.ISfcHasConnection.GetConnection メソッド

バックアップ用ストレージへのサーバー接続を取得します。 このメンバーをコード内で直接参照しないでください。 このメンバーは、SQL Server インフラストラクチャをサポートしています。

名前空間:  Microsoft.SqlServer.Management.Collector
アセンブリ:  Microsoft.SqlServer.Management.Collector (Microsoft.SqlServer.Management.Collector.dll)

構文

'宣言
Private Function GetConnection As ISfcConnection 
    Implements ISfcHasConnection.GetConnection
'使用
Dim instance As CollectorConfigStore 
Dim returnValue As ISfcConnection 

returnValue = CType(instance, ISfcHasConnection).GetConnection()
ISfcConnection ISfcHasConnection.GetConnection()
private:
virtual ISfcConnection^ GetConnection() sealed = ISfcHasConnection::GetConnection
private abstract GetConnection : unit -> ISfcConnection  
private override GetConnection : unit -> ISfcConnection
JScript は明示的なインターフェイス実装の使用をサポートしていますが、新規の宣言はサポートしていません。

戻り値

型: Microsoft.SqlServer.Management.Common.ISfcConnection
ISfcConnection が返されます。サーバー接続を保持する ISfcConnection オブジェクトです。

実装

ISfcHasConnection.GetConnection()

関連項目

参照

CollectorConfigStore クラス

GetConnection オーバーロード

Microsoft.SqlServer.Management.Collector 名前空間