Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IDTSInputCollection100.SetIndex Method

Changes the location of an IDTSInput100 object.

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

[DispIdAttribute()]
void SetIndex(
	int lOldIndex,
	int lNewIndex
)

Parameters

lOldIndex
Type: Int32
The current location of the input in the collection.
lNewIndex
Type: Int32
The new location of the input in the collection.

The SetIndex method moves the input at the location specified by lOldIndex to the location specified by lNewIndex. If either of the locations in the collection is outside the bounds of the collection, a Microsoft.SqlServer.Dts.Runtime.HResults.DTS_E_INVALIDINDEX exception occurs.

Community Additions

Show:
© 2015 Microsoft