IntegrationServices.ISfcHasConnection.GetConnection メソッド (SfcObjectQueryMode)

クエリを実行する現在の接続を取得します。 1 つの直列クエリまたは複数の同時に開くクエリをサポートする接続を要求に従って返します。

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

構文

'宣言
Private Function GetConnection ( _
    mode As SfcObjectQueryMode _
) As ISfcConnection Implements ISfcHasConnection.GetConnection
'使用
Dim instance As IntegrationServices 
Dim mode As SfcObjectQueryMode 
Dim returnValue As ISfcConnection 

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

パラメーター

戻り値

型: Microsoft.SqlServer.Management.Common.ISfcConnection
使用する接続。キャッシュ モードを使用する場合は nullNULL 参照 (Visual Basic では Nothing)。キャッシュ モードでは、接続の問題と開いているデータ リーダーの問題を回避できます。

実装

ISfcHasConnection.GetConnection(SfcObjectQueryMode)

関連項目

参照

IntegrationServices クラス

GetConnection オーバーロード

Microsoft.SqlServer.Management.IntegrationServices 名前空間