Partager via


InsertInput méthode

Adds an IDTSInput100 object to the IDTSInputCollection100.

Espace de noms :  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly :  Microsoft.SqlServer.DTSPipelineWrap (dans Microsoft.SqlServer.DTSPipelineWrap.dll)

Syntaxe

'Déclaration
Function InsertInput ( _
    eInsertPlacement As DTSInsertPlacement, _
    lInputID As Integer _
) As IDTSInput100
'Utilisation
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

Paramètres

Valeur de retour

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

Notes

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.