共用方式為


PipelineComponent.InsertInput(DTSInsertPlacement, Int32) Method

Definition

Important

This API is not CLS-compliant.

Adds an IDTSInput100 object to the IDTSInputCollection100.

public:
 virtual Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSInput100 ^ InsertInput(Microsoft::SqlServer::Dts::Pipeline::Wrapper::DTSInsertPlacement insertPlacement, int inputID);
[System.CLSCompliant(false)]
public virtual Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSInput100 InsertInput (Microsoft.SqlServer.Dts.Pipeline.Wrapper.DTSInsertPlacement insertPlacement, int inputID);
[<System.CLSCompliant(false)>]
abstract member InsertInput : Microsoft.SqlServer.Dts.Pipeline.Wrapper.DTSInsertPlacement * int -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSInput100
override this.InsertInput : Microsoft.SqlServer.Dts.Pipeline.Wrapper.DTSInsertPlacement * int -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSInput100
Public Overridable Function InsertInput (insertPlacement As DTSInsertPlacement, inputID As Integer) As IDTSInput100

Parameters

insertPlacement
DTSInsertPlacement

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

inputID
Int32

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

Returns

The newly created IDTSInput100 object.

Attributes

Remarks

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.

Applies to