Share via


IDTSInputCollection100.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
Sub RemoveObjectByIndex ( _
    Index As Object _
)
'Usage
Dim instance As IDTSInputCollection100 
Dim Index As Object

instance.RemoveObjectByIndex(Index)
void RemoveObjectByIndex(
    Object Index
)
void RemoveObjectByIndex(
    [InAttribute] Object^ Index
)
abstract RemoveObjectByIndex : 
        Index:Object -> unit
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.

See Also

Reference

IDTSInputCollection100 Interface

Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace