Share via


IDTSExternalMetadataColumnCollection100.GetObjectIndexByID(Int32) Method

Definition

Gets the index of an IDTSExternalMetadataColumn100 object that has the specified ID.

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

The id of the column whose index is retrieved.

Returns

An integer that contains the location of the IDTSExternalMetadataColumn100 in the zero-based collection.

Attributes

Remarks

If the external metadata column specified by the lID parameter is not found in the collection, a DTS_E_ELEMENTNOTFOUND exception occurs.

Applies to