IDTSInputCollection100.GetObjectIndexByID(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the index of the IDTSInput100 object 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
The ID of the input object.
Returns
An Integer that indicates the location of the item in the index.
- Attributes
Remarks
The GetObjectIndexByID method retrieves the index in the input collection of the input having the ID specified by the lID
parameter. If an input with the specified ID is not found in the collection, a Microsoft.SqlServer.Dts.HResults.DTS_E_OBJECTNOTINHASHTABLE exception occurs.