Compartilhar via


Método InsertInput

Adds an IDTSInput100 object to the IDTSInputCollection100.

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

Sintaxe

'Declaração
Function InsertInput ( _
    eInsertPlacement As DTSInsertPlacement, _
    lInputID As Integer _
) As IDTSInput100
'Uso
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

Parâmetros

Valor de retorno

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

Comentários

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

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