Udostępnij przez


IDTSDesigntimeComponent100.InsertInput Method

Adds an IDTSInput100 object to the IDTSInputCollection100.

Namespace: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

Syntax

'Deklaracja
<DispIdAttribute(22)> _
Function InsertInput ( _
    <InAttribute> eInsertPlacement As DTSInsertPlacement, _
    <InAttribute> lInputID As Integer _
) As IDTSInput100
[DispIdAttribute(22)] 
IDTSInput100 InsertInput (
    [InAttribute] DTSInsertPlacement eInsertPlacement,
    [InAttribute] int lInputID
)
[DispIdAttribute(22)] 
IDTSInput100^ InsertInput (
    [InAttribute] DTSInsertPlacement eInsertPlacement, 
    [InAttribute] int lInputID
)
/** @attribute DispIdAttribute(22) */ 
IDTSInput100 InsertInput (
    /** @attribute InAttribute() */ DTSInsertPlacement eInsertPlacement, 
    /** @attribute InAttribute() */ int lInputID
)
DispIdAttribute(22) 
function InsertInput (
    eInsertPlacement : DTSInsertPlacement, 
    lInputID : int
) : IDTSInput100

Parameters

  • eInsertPlacement
    Specifies whether to insert the new IDTSInput100 object before or after the IDTSInput100 object specified by inputID.
  • lInputID
    Specifies an existing IDTSInput100 object that the new IDTSInput100 is inserted next to.

Return Value

The IDTSInput100 that was added to the input collection

Remarks

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.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.