IDTSInputCollection100.SetIndex(Int32, 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.
Changes the location of an IDTSInput100 object.
public:
void SetIndex(int lOldIndex, int lNewIndex);
[System.Runtime.InteropServices.DispId(19)]
public void SetIndex (int lOldIndex, int lNewIndex);
[<System.Runtime.InteropServices.DispId(19)>]
abstract member SetIndex : int * int -> unit
Public Sub SetIndex (lOldIndex As Integer, lNewIndex As Integer)
Parameters
- lOldIndex
- Int32
The current location of the input in the collection.
- lNewIndex
- Int32
The new location of the input in the collection.
- Attributes
Remarks
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.