IDTSExternalMetadataColumnCollection100.NewAt 方法

Creates a new IDTSExternalMetadataColumn100 at the specified location in a collection.

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

语法

声明
Function NewAt ( _
    lIndex As Integer _
) As IDTSExternalMetadataColumn100
用法
Dim instance As IDTSExternalMetadataColumnCollection100 
Dim lIndex As Integer 
Dim returnValue As IDTSExternalMetadataColumn100 

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

参数

  • lIndex
    类型:System.Int32
    The location in the index to create the column.

返回值

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

注释

This method creates a new IDTSExternalMetadataColumn100 column and adds it to the specified location in the collection. If the location specified by the lIndex parameter is outside the bounds of the collection, then an Microsoft.SqlServer.Dts.HResults.DTS_E_INVALIDINDEX exception occurs and the column is not created.

请参阅

参考

IDTSExternalMetadataColumnCollection100 接口

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