IDTSDesigntimeComponent90.InsertInput Method

Adds an IDTSInput90 object to the IDTSInputCollection90.

命名空間: Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

語法

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

參數

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

傳回值

The IDTSInput90 that was added to the input collection

備註

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

If inputID equals zero, the new IDTSInput90 object is added at the beginning of the collection.

執行緒安全性

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.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

IDTSDesigntimeComponent90 Interface
IDTSDesigntimeComponent90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace