Delen via


CManagedComponentWrapperClass.InsertInput Method

Adds an IDTSInput100 object to the IDTSInputCollection100 of the component.

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

Syntax

'Declaration
Public Overridable Function InsertInput ( _
    eInsertPlacement As DTSInsertPlacement, _
    lInputID As Integer _
) As IDTSInput100
'Usage
Dim instance As CManagedComponentWrapperClass
Dim eInsertPlacement As DTSInsertPlacement
Dim lInputID As Integer
Dim returnValue As IDTSInput100

returnValue = instance.InsertInput(eInsertPlacement, _
    lInputID)
public virtual IDTSInput100 InsertInput(
    DTSInsertPlacement eInsertPlacement,
    int lInputID
)
public:
virtual IDTSInput100^ InsertInput(
    [InAttribute] DTSInsertPlacement eInsertPlacement, 
    [InAttribute] int lInputID
)
abstract InsertInput : 
        eInsertPlacement:DTSInsertPlacement * 
        lInputID:int -> IDTSInput100 
override InsertInput : 
        eInsertPlacement:DTSInsertPlacement * 
        lInputID:int -> IDTSInput100 
public function InsertInput(
    eInsertPlacement : DTSInsertPlacement, 
    lInputID : int
) : IDTSInput100

Parameters

Return Value

Type: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSInput100
The newly created IDTSInput100 object.

Implements

IDTSDesigntimeComponent100.InsertInput(DTSInsertPlacement, Int32)

Remarks

Call this method to insert a new IDTSInput100 object before or after the input object specified by the inputID parameter.