IDTSInputCollection100.GetObjectIndexByID Method (Int32)

 

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(21)]
int GetObjectIndexByID(
	int lID
)

Parameters

lID
Type: System.Int32

The ID of the input object.

Return Value

Type: System.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.

Return to top
Show: