IDTSRuntimeConnectionCollection100.GetObjectIndexByID(Int32) 方法

定义

检索集合中对象的索引 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例外情况发生。

适用于