IDTSRuntimeConnectionCollection100.GetObjectIndexByID メソッド

コレクション内の IDTSRuntimeConnection100 オブジェクトのインデックスを取得します。

名前空間:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
アセンブリ:  Microsoft.SqlServer.DTSPipelineWrap (Microsoft.SqlServer.DTSPipelineWrap.dll)

構文

'宣言
Function GetObjectIndexByID ( _
    lID As Integer _
) As Integer
'使用
Dim instance As IDTSRuntimeConnectionCollection100 
Dim lID As Integer 
Dim returnValue As Integer 

returnValue = instance.GetObjectIndexByID(lID)
int GetObjectIndexByID(
    int lID
)
int GetObjectIndexByID(
    [InAttribute] int lID
)
abstract GetObjectIndexByID : 
        lID:int -> int
function GetObjectIndexByID(
    lID : int
) : int

パラメーター

  • lID
    型: System.Int32
    ランタイム接続の ID です。

戻り値

型: System.Int32
インデックス内での項目の場所です。

説明

GetObjectIndexByID メソッドは、指定した ID を持つランタイム接続のコレクション内のインデックスを取得します。 指定した ID を持つオブジェクトがコレクション内に見つからない場合、Microsoft.SqlServer.Dts.HResults.DTS_E_OBJECTNOTINHASHTABLE 例外が発生します。

関連項目

参照

IDTSRuntimeConnectionCollection100 インターフェイス

Microsoft.SqlServer.Dts.Pipeline.Wrapper 名前空間