Export (0) Print
Expand All

IDTSInputCollection100.GetObjectIndexByID Method

Retrieves the index of the IDTSInput100 object in a collection.

Namespace:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly:  Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)

[DispIdAttribute()]
int GetObjectIndexByID(
	int lID
)

Parameters

lID
Type: Int32
The ID of the input object.

Return Value

Type: Int32
An Integer that indicates the location of the item in the index.

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.

Community Additions

ADD
Show:
© 2014 Microsoft