Udostępnij przez


IDTSExternalMetadataColumnCollection100.NewAt Method

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

Namespace: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)

Syntax

'Deklaracja
<DispIdAttribute(15)> _
Function NewAt ( _
    <InAttribute> lIndex As Integer _
) As IDTSExternalMetadataColumn100
[DispIdAttribute(15)] 
IDTSExternalMetadataColumn100 NewAt (
    [InAttribute] int lIndex
)
[DispIdAttribute(15)] 
IDTSExternalMetadataColumn100^ NewAt (
    [InAttribute] int lIndex
)
/** @attribute DispIdAttribute(15) */ 
IDTSExternalMetadataColumn100 NewAt (
    /** @attribute InAttribute() */ int lIndex
)
DispIdAttribute(15) 
function NewAt (
    lIndex : int
) : IDTSExternalMetadataColumn100

Parameters

  • lIndex
    The location in the index to create the column.

Return Value

The newly created IDTSExternalMetadataColumn100 object.

Remarks

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.

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.