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
'Declaration
Function NewAt ( _
lIndex As Integer _
) As IDTSExternalMetadataColumn100
'Usage
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
Parameters
- lIndex
Type: System.Int32
The ___location in the index to create the column.
Return Value
Type: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSExternalMetadataColumn100
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.