IDTSInputCollection100.NewAt 方法

Adds a new input object at the specified index in a collection.

命名空间:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
程序集:  Microsoft.SqlServer.DTSPipelineWrap(在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)

语法

声明
Function NewAt ( _
    lIndex As Integer _
) As IDTSInput100
用法
Dim instance As IDTSInputCollection100 
Dim lIndex As Integer 
Dim returnValue As IDTSInput100 

returnValue = instance.NewAt(lIndex)
IDTSInput100 NewAt(
    int lIndex
)
IDTSInput100^ NewAt(
    [InAttribute] int lIndex
)
abstract NewAt : 
        lIndex:int -> IDTSInput100
function NewAt(
    lIndex : int
) : IDTSInput100

参数

  • lIndex
    类型:System.Int32
    The location in the collection to add the new input.

返回值

类型:Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSInput100
The newly created IDTSInput100 object.

注释

The NewAt method creates a new input object at the specified location in the collection and returns the newly created input object. If the Index parameter is outside the bounds of the collection, a Microsoft.SqlServer.Dts.Runtime.HResults.DTS_E_INVALIDINDEX exception occurs.

请参阅

参考

IDTSInputCollection100 接口

Microsoft.SqlServer.Dts.Pipeline.Wrapper 命名空间