Share via


IDTSInputCollection100.RemoveObjectByID(Int32) Method

Definition

Removes an input object specified by its ID 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 input to remove.

Attributes

Remarks

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

Applies to