次の方法で共有


ISfcHasConnection.GetConnection メソッド (SfcObjectQueryMode)

バッキング ストアとして機能し、指定されたクエリ処理モードをサポートするデータベース エンジンのインスタンスへの接続を取得します。

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

構文

'宣言
Private Function GetConnection ( _
    activeQueriesMode As SfcObjectQueryMode _
) As ISfcConnection Implements ISfcHasConnection.GetConnection
'使用
Dim instance As DacDomain
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 オブジェクトを返します。

実装

ISfcHasConnection. . :: . .GetConnection(SfcObjectQueryMode)