IDTSRuntimeConnectionCollection90.SetIndex Method
Changes the location of the run-time connection object in a collection.
Espace de noms: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)
Syntaxe
'Déclaration
<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
)
Paramètres
- lOldIndex
The current location of the run-time connection.
- lNewIndex
The new location in the collection of the run-time connection.
Notes
The SetIndex method moves the run-time connection 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.
Sécurité des threads
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.
Plateformes
Plateformes de développement
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Plateformes cibles
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Voir aussi
Référence
IDTSRuntimeConnectionCollection90 Interface
IDTSRuntimeConnectionCollection90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace