IDTSExternalMetadataColumnCollection90.NewAt Method

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

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

Syntax

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

Parameters

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

Return Value

The newly created IDTSExternalMetadataColumn90 object.

Remarks

This method creates a new IDTSExternalMetadataColumn90 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 2005.

Target Platforms

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

See Also

Reference

IDTSExternalMetadataColumnCollection90 Interface
IDTSExternalMetadataColumnCollection90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace