Partager via


InsertInput méthode

Adds an IDTSInput100 object to the IDTSInputCollection100.

Cette API n'est pas conforme CLS. 

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

Syntaxe

'Déclaration
<CLSCompliantAttribute(False)> _
Public Overridable Function InsertInput ( _
    insertPlacement As DTSInsertPlacement, _
    inputID As Integer _
) As IDTSInput100
'Utilisation
Dim instance As PipelineComponent
Dim insertPlacement As DTSInsertPlacement
Dim inputID As Integer
Dim returnValue As IDTSInput100

returnValue = instance.InsertInput(insertPlacement, _
    inputID)
[CLSCompliantAttribute(false)]
public virtual IDTSInput100 InsertInput(
    DTSInsertPlacement insertPlacement,
    int inputID
)
[CLSCompliantAttribute(false)]
public:
virtual IDTSInput100^ InsertInput(
    DTSInsertPlacement insertPlacement, 
    int inputID
)
[<CLSCompliantAttribute(false)>]
abstract InsertInput : 
        insertPlacement:DTSInsertPlacement * 
        inputID:int -> IDTSInput100 
[<CLSCompliantAttribute(false)>]
override InsertInput : 
        insertPlacement:DTSInsertPlacement * 
        inputID:int -> IDTSInput100 
public function InsertInput(
    insertPlacement : DTSInsertPlacement, 
    inputID : int
) : IDTSInput100

Paramètres

Valeur de retour

Type : Microsoft.SqlServer.Dts.Pipeline.Wrapper. . :: . .IDTSInput100
The newly created IDTSInput100 object.

Notes

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

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