IDTSInputCollection90.SetIndex Method
Changes the location of an IDTSInput90 object.
Namespace: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)
Syntax
'Declaration
<DispIdAttribute(19)> _
Sub SetIndex ( _
<InAttribute> lOldIndex As Integer, _
<InAttribute> lNewIndex As Integer _
)
[DispIdAttribute(19)]
void SetIndex (
[InAttribute] int lOldIndex,
[InAttribute] int lNewIndex
)
[DispIdAttribute(19)]
void SetIndex (
[InAttribute] int lOldIndex,
[InAttribute] int lNewIndex
)
/** @attribute DispIdAttribute(19) */
void SetIndex (
/** @attribute InAttribute() */ int lOldIndex,
/** @attribute InAttribute() */ int lNewIndex
)
DispIdAttribute(19)
function SetIndex (
lOldIndex : int,
lNewIndex : int
)
Parameters
- lOldIndex
The current location of the input in the collection.
- lNewIndex
The new location of the input in the collection.
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.
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
IDTSInputCollection90 Interface
IDTSInputCollection90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace