IDTSInputCollection100.RemoveObjectByID Method (Int32)


Removes an input object specified by its ID from a collection.

Namespace:   Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly:  Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)

void RemoveObjectByID(
	int lID


Type: System.Int32

The ID of the input to remove.

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.

Return to top