共用方式為


IDTSExternalMetadataColumnCollection100.NewAt(Int32) Method

Definition

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

public:
 Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSExternalMetadataColumn100 ^ NewAt(int lIndex);
[System.Runtime.InteropServices.DispId(15)]
public Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSExternalMetadataColumn100 NewAt (int lIndex);
[<System.Runtime.InteropServices.DispId(15)>]
abstract member NewAt : int -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSExternalMetadataColumn100
Public Function NewAt (lIndex As Integer) As IDTSExternalMetadataColumn100

Parameters

lIndex
Int32

The location in the index to create the column.

Returns

The newly created IDTSExternalMetadataColumn100 object.

Attributes

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.

Applies to