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