Compartir a través de


IDTSInputCollection100.NewAt Método

Adds a new input object at the specified index 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 IDTSInput100
'Uso
Dim instance As IDTSInputCollection100 
Dim lIndex As Integer 
Dim returnValue As IDTSInput100 

returnValue = instance.NewAt(lIndex)
IDTSInput100 NewAt(
    int lIndex
)
IDTSInput100^ NewAt(
    [InAttribute] int lIndex
)
abstract NewAt : 
        lIndex:int -> IDTSInput100
function NewAt(
    lIndex : int
) : IDTSInput100

Parámetros

  • lIndex
    Tipo: System.Int32
    The location in the collection to add the new input.

Valor devuelto

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

Comentarios

The NewAt method creates a new input object at the specified location in the collection and returns the newly created input object. If the Index parameter is outside the bounds of the collection, a Microsoft.SqlServer.Dts.Runtime.HResults.DTS_E_INVALIDINDEX exception occurs.

Vea también

Referencia

IDTSInputCollection100 Interfaz

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