IDTSRuntimeConnectionCollection90.SetIndex Method
Changes the location of the run-time connection object in a collection.
Пространство имен: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Сборка: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)
Синтаксис
'Декларация
<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
)
Параметры
- lOldIndex
The current location of the run-time connection.
- lNewIndex
The new location in the collection of the run-time connection.
Замечания
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.
Синхронизация потоков
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.
Платформы
Платформы разработки
Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.
Целевые платформы
Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.
См. также
Справочник
IDTSRuntimeConnectionCollection90 Interface
IDTSRuntimeConnectionCollection90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace