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
パラメーター
- activeQueriesMode
型: Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectQueryMode
クエリ処理モードを指定する SfcObjectQueryMode 値です。
戻り値
型: Microsoft.SqlServer.Management.Common.ISfcConnection
サーバー接続を保持する ISfcConnection オブジェクトです。