PipelineComponent.InsertInput Method (DTSInsertPlacement, Int32)

 

Adds an IDTSInput100 object to the IDTSInputCollection100.

This API is not CLS-compliant.

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

[CLSCompliantAttribute(false)]
public virtual IDTSInput100 InsertInput(
	DTSInsertPlacement insertPlacement,
	int inputID
)

Parameters

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

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

inputID
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 newly created IDTSInput100 object.

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

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

Return to top
Show: