Udostępnij za pośrednictwem


Metoda IDTSDesigntimeComponent100.InsertInput

Dodaje IDTSInput100 obiektu, aby IDTSInputCollection100.

Przestrzeń nazw:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Zestaw:  Microsoft.SqlServer.DTSPipelineWrap (w Microsoft.SqlServer.DTSPipelineWrap.dll)

Składnia

'Deklaracja
Function InsertInput ( _
    eInsertPlacement As DTSInsertPlacement, _
    lInputID As Integer _
) As IDTSInput100
'Użycie
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

Parametry

Wartość zwracana

Typ: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSInput100
IDTSInput100 , Została dodana do kolekcja danych wejściowych

Uwagi

Ta metoda Wstawia nowy IDTSInput100 obiekt przed lub po obiekt wejściowy określony przez inputID parametr w NewAt metody.

Jeśli inputID jest równa zero, nowy IDTSInput100 obiekt jest dodawany na początku kolekcja.