Compartir a través de


IDTSExternalMetadataColumnCollection100.NewAt Método

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

Espacio de nombres:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
Ensamblado:  Microsoft.SqlServer.DTSPipelineWrap (en Microsoft.SqlServer.DTSPipelineWrap.dll)

Sintaxis

'Declaración
Function NewAt ( _
    lIndex As Integer _
) As IDTSExternalMetadataColumn100
'Uso
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

Parámetros

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

Valor devuelto

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

Comentarios

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.

Vea también

Referencia

IDTSExternalMetadataColumnCollection100 Interfaz

Espacio de nombres Microsoft.SqlServer.Dts.Pipeline.Wrapper