IDTSDesigntimeComponent100.InsertInput Method (DTSInsertPlacement, Int32)


Adds an IDTSInput100 object to the IDTSInputCollection100.

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

IDTSInput100 InsertInput(
	DTSInsertPlacement eInsertPlacement,
	int lInputID


Type: Microsoft.SqlServer.Dts.Pipeline.Wrapper.DTSInsertPlacement

Specifies whether to insert the new IDTSInput100 object before or after the IDTSInput100 object specified by lInputID.

Type: System.Int32

Specifies an existing IDTSInput100 object that the new IDTSInput100 is inserted next to.

Return Value

Type: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSInput100

The IDTSInput100 that was added to the input collection.

This method inserts a new IDTSInput100 object before or after the input object specified by the lInputID parameter in the NewAt method.

If inputID equals zero, the new IDTSInput100 object is added at the beginning of the collection.

Return to top