Share via


IDTSRuntimeConnectionCollection90.RemoveObjectByIndex Method

Deletes the run-time connection at the specified index from a collection.

Namespace: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

Syntax

'Declaration
<DispIdAttribute(16)> _
Sub RemoveObjectByIndex ( _
    <InAttribute> Index As Object _
)
[DispIdAttribute(16)] 
void RemoveObjectByIndex (
    [InAttribute] Object Index
)
[DispIdAttribute(16)] 
void RemoveObjectByIndex (
    [InAttribute] Object^ Index
)
/** @attribute DispIdAttribute(16) */ 
void RemoveObjectByIndex (
    /** @attribute InAttribute() */ Object Index
)
DispIdAttribute(16) 
function RemoveObjectByIndex (
    Index : Object
)

Parameters

Remarks

The RemoveObjectByIndex method deletes the run-time connection at the location in the collection specified by the Index parameter. If the Index 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

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