共用方式為


PipelineComponent.InsertInput Method

Adds an IDTSInput90 object to the IDTSInputCollection90. This method is not CLS-compliant.

命名空間: Microsoft.SqlServer.Dts.Pipeline
組件: Microsoft.SqlServer.PipelineHost (in microsoft.sqlserver.pipelinehost.dll)

語法

'宣告
<CLSCompliantAttribute(False)> _
Public Overridable Function InsertInput ( _
    insertPlacement As DTSInsertPlacement, _
    inputID As Integer _
) As IDTSInput90
[CLSCompliantAttribute(false)] 
public virtual IDTSInput90 InsertInput (
    DTSInsertPlacement insertPlacement,
    int inputID
)
[CLSCompliantAttribute(false)] 
public:
virtual IDTSInput90^ InsertInput (
    DTSInsertPlacement insertPlacement, 
    int inputID
)
/** @attribute CLSCompliantAttribute(false) */ 
public IDTSInput90 InsertInput (
    DTSInsertPlacement insertPlacement, 
    int inputID
)
CLSCompliantAttribute(false) 
public function InsertInput (
    insertPlacement : DTSInsertPlacement, 
    inputID : int
) : IDTSInput90

參數

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

傳回值

The newly created IDTSInput90 object.

備註

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

If inputID equals zero, the new IDTSInput90 object is added at the start 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 的硬體和軟體需求>。

請參閱

參考

PipelineComponent Class
PipelineComponent Members
Microsoft.SqlServer.Dts.Pipeline Namespace