Share via


IDTSInputCollection100.RemoveObjectByIndex(Object) Method

Definition

Deletes an input object from a collection.

public:
 void RemoveObjectByIndex(System::Object ^ Index);
[System.Runtime.InteropServices.DispId(16)]
public void RemoveObjectByIndex(object Index);
[<System.Runtime.InteropServices.DispId(16)>]
abstract member RemoveObjectByIndex : obj -> unit
Public Sub RemoveObjectByIndex (Index As Object)

Parameters

Index
Object

The ___location of the IDTSInput100 to delete.

Attributes

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.

Applies to