IDTSOutputColumnCollection100.GetObjectIndexByID(Int32) Method

Definition

Retrieves the location of an output column in a collection.

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

Parameters

lID
Int32

Specifies the ID of the output column whose index in the collection is retrieved.

Returns

An Integer that specifies the location in the collection of the output column object.

Attributes

Remarks

If an output column having lID is not found in the collection, an DTS_E_OBJECTIDNOTFOUND exception occurs.

Applies to