共用方式為


IDTSDesigntimeComponent100.InsertInput(DTSInsertPlacement, Int32) Method

Definition

Adds an IDTSInput100 object to the IDTSInputCollection100.

public:
 Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSInput100 ^ InsertInput(Microsoft::SqlServer::Dts::Pipeline::Wrapper::DTSInsertPlacement eInsertPlacement, int lInputID);
[System.Runtime.InteropServices.DispId(22)]
public Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSInput100 InsertInput (Microsoft.SqlServer.Dts.Pipeline.Wrapper.DTSInsertPlacement eInsertPlacement, int lInputID);
[<System.Runtime.InteropServices.DispId(22)>]
abstract member InsertInput : Microsoft.SqlServer.Dts.Pipeline.Wrapper.DTSInsertPlacement * int -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSInput100
Public Function InsertInput (eInsertPlacement As DTSInsertPlacement, lInputID As Integer) As IDTSInput100

Parameters

eInsertPlacement
DTSInsertPlacement

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

lInputID
Int32

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

Returns

The IDTSInput100 that was added to the input collection.

Attributes

Remarks

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.

Applies to