Share via


IDTSRuntimeConnectionCollection100.RemoveObjectByIndex(Object) Method

Definition

Deletes the run-time connection at the specified index 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 IDTSRuntimeConnection100 object to delete from the collection.

Attributes

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.

Applies to