Share via


IDTSInputCollection90.RemoveObjectByIndex Method

Deletes an input object 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 input 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

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