Compartir a través de


NewAt Método

Adds a new run-time connection 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 IDTSRuntimeConnection100
'Uso
Dim instance As IDTSRuntimeConnectionCollection100
Dim lIndex As Integer
Dim returnValue As IDTSRuntimeConnection100

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

Parámetros

Notas

The NewAt method creates a new run-time connection at the specified location in the collection and returns the newly created connection object. If the lIndex parameter is outside the bounds of the collection then an Microsoft.SqlServer.Dts.Runtime.HResults.DTS_E_INVALIDINDEX exception is thrown.