Share via


IDTSDesigntimeComponent100.InsertInput Method

Adds an IDTSInput100 object to the IDTSInputCollection100.

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

Syntax

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

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

Parameters

Return Value

Type: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSInput100
The IDTSInput100 that was added to the input collection.

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.

See Also

Reference

IDTSDesigntimeComponent100 Interface

Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace