Condividi tramite


Metodo InsertInput

Adds an IDTSInput100 object to the IDTSInputCollection100.

Spazio dei nomi:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly:  Microsoft.SqlServer.DTSPipelineWrap (in Microsoft.SqlServer.DTSPipelineWrap.dll)

Sintassi

'Dichiarazione
Function InsertInput ( _
    eInsertPlacement As DTSInsertPlacement, _
    lInputID As Integer _
) As IDTSInput100
'Utilizzo
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

Parametri

Valore restituito

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

Osservazioni

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.