Freigeben über


IDTSRuntimeConnectionCollection90.SetIndex Method

Changes the location of the run-time connection object in a collection.

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
)

Parameter

  • lOldIndex
    The current location of the run-time connection.
  • lNewIndex
    The new location in the collection of the run-time connection.

Hinweise

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.

Threadsicherheit

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.

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

IDTSRuntimeConnectionCollection90 Interface
IDTSRuntimeConnectionCollection90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace