Share via


PipelineComponent.InsertInput(DTSInsertPlacement, Int32) 方法

定义

重要

此 API 不符合 CLS。

IDTSInput100 对象添加到 IDTSInputCollection100

public:
 virtual Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSInput100 ^ InsertInput(Microsoft::SqlServer::Dts::Pipeline::Wrapper::DTSInsertPlacement insertPlacement, int inputID);
[System.CLSCompliant(false)]
public virtual Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSInput100 InsertInput (Microsoft.SqlServer.Dts.Pipeline.Wrapper.DTSInsertPlacement insertPlacement, int inputID);
[<System.CLSCompliant(false)>]
abstract member InsertInput : Microsoft.SqlServer.Dts.Pipeline.Wrapper.DTSInsertPlacement * int -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSInput100
override this.InsertInput : Microsoft.SqlServer.Dts.Pipeline.Wrapper.DTSInsertPlacement * int -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSInput100
Public Overridable Function InsertInput (insertPlacement As DTSInsertPlacement, inputID As Integer) As IDTSInput100

参数

insertPlacement
DTSInsertPlacement

指定是在由 inputID 指定的 IDTSInput100 对象之前还是之后插入新的 IDTSInput100 对象。

inputID
Int32

指定将新 IDTSInput100 插入其旁边的现有 IDTSInput100 对象。

返回

新创建的 IDTSInput100 对象。

属性

注解

此方法在方法过程中NewAt由参数指定的inputID输入对象之前或之后插入新IDTSInput100对象。

如果 inputID 等于零,则新 IDTSInput100 对象将添加到集合的开头。

适用于