IDTSInputCollection100.GetObjectIndexByID(Int32) 方法

定义

检索集合中对象的索引 IDTSInput100

public:
 int GetObjectIndexByID(int lID);
[System.Runtime.InteropServices.DispId(21)]
public int GetObjectIndexByID(int lID);
[<System.Runtime.InteropServices.DispId(21)>]
abstract member GetObjectIndexByID : int -> int
Public Function GetObjectIndexByID (lID As Integer) As Integer

参数

lID
Int32

输入对象的ID。

返回

一个整数,表示该项在索引中的位置。

属性

注解

GetObjectIndexByID 方法检索输入集合中的索引,输入集合中的 ID 由 lID 参数指定。 如果集合中找不到带有指定ID的输入,则是Microsoft。SqlServer.Dts.HResults.DTS_E_OBJECTNOTINHASHTABLE例外情况发生。

适用于