Share via


IDTSRuntimeConnectionCollection100.RemoveObjectByID(Int32) Method

Definition

Removes the specified connection object from a collection.

public:
 void RemoveObjectByID(int lID);
[System.Runtime.InteropServices.DispId(17)]
public void RemoveObjectByID (int lID);
[<System.Runtime.InteropServices.DispId(17)>]
abstract member RemoveObjectByID : int -> unit
Public Sub RemoveObjectByID (lID As Integer)

Parameters

lID
Int32

The ID of the IDTSRuntimeConnection100 object to remove.

Attributes

Remarks

The RemoveObjectByID method deletes the run-time connection object with the specified ID from the collection. If a run-time connection with the specified ID does not exist, an Microsoft.SqlServer.Dts.Runtime.HResults.DTS_E_INVALIDINDEX exception occurs.

Applies to