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 检索输入的输入集合中具有参数指定的 lID ID 的索引。 如果在集合中找不到具有指定 ID 的输入,则会发生Microsoft.SqlServer.Dts.HResults.DTS_E_OBJECTNOTINHASHTABLE异常。

适用于