Share via


IDTSDesigntimeComponent100.InsertInput(DTSInsertPlacement, Int32) 方法

定义

IDTSInput100 对象添加到 IDTSInputCollection100

public:
 Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSInput100 ^ InsertInput(Microsoft::SqlServer::Dts::Pipeline::Wrapper::DTSInsertPlacement eInsertPlacement, int lInputID);
[System.Runtime.InteropServices.DispId(22)]
public Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSInput100 InsertInput (Microsoft.SqlServer.Dts.Pipeline.Wrapper.DTSInsertPlacement eInsertPlacement, int lInputID);
[<System.Runtime.InteropServices.DispId(22)>]
abstract member InsertInput : Microsoft.SqlServer.Dts.Pipeline.Wrapper.DTSInsertPlacement * int -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSInput100
Public Function InsertInput (eInsertPlacement As DTSInsertPlacement, lInputID As Integer) As IDTSInput100

参数

eInsertPlacement
DTSInsertPlacement

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

lInputID
Int32

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

返回

已添加到输入集合的 IDTSInput100

属性

注解

此方法在 方法中的 NewAt 参数指定的lInputID输入对象之前或之后插入一个新IDTSInput100对象。

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

适用于