语言

IDTSOutputColumnCollection100.GetObjectIndexByID(Int32) 方法

定义

检索集合中输出列的位置。

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。

返回

一个整数,指定输出列对象集合中的位置。

属性

注解

如果集合中找不到输出列 , lID 则 DTS_E_OBJECTIDNOTFOUND 会出现异常。

适用于