IDTSRuntimeConnectionCollection100.GetObjectIndexByID(Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
检索集合中 IDTSRuntimeConnection100 对象的索引。
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 检索运行时连接的集合中的索引。 如果在集合中找不到具有指定 ID 的对象,则会发生Microsoft.SqlServer.Dts.HResults.DTS_E_OBJECTNOTINHASHTABLE异常。