次の方法で共有


ISfcHasConnection.GetConnection メソッド (SfcObjectQueryMode)

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

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

構文

'宣言
Function GetConnection ( _
    activeQueriesMode As SfcObjectQueryMode _
) As ISfcConnection
'使用
Dim instance As ISfcHasConnection 
Dim activeQueriesMode As SfcObjectQueryMode 
Dim returnValue As ISfcConnection 

returnValue = instance.GetConnection(activeQueriesMode)
ISfcConnection GetConnection(
    SfcObjectQueryMode activeQueriesMode
)
ISfcConnection^ GetConnection(
    SfcObjectQueryMode activeQueriesMode
)
abstract GetConnection : 
        activeQueriesMode:SfcObjectQueryMode -> ISfcConnection
function GetConnection(
    activeQueriesMode : SfcObjectQueryMode
) : ISfcConnection

パラメーター

戻り値

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

関連項目

参照

ISfcHasConnection インターフェイス

GetConnection オーバーロード

Microsoft.SqlServer.Management.Sdk.Sfc 名前空間