다음을 통해 공유


IDTSRuntimeConnectionCollection100.NewAt 메서드

Adds a new run-time connection at the specified location in a collection.

네임스페이스:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
어셈블리:  Microsoft.SqlServer.DTSPipelineWrap(Microsoft.SqlServer.DTSPipelineWrap.dll)

구문

‘선언
Function NewAt ( _
    lIndex As Integer _
) As IDTSRuntimeConnection100
‘사용 방법
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

매개 변수

  • lIndex
    유형: System.Int32
    The location in the collection to add the new run-time connection.

반환 값

유형: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSRuntimeConnection100
The newly created IDTSRuntimeConnection100 connection.

주의

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.

참고 항목

참조

IDTSRuntimeConnectionCollection100 인터페이스

Microsoft.SqlServer.Dts.Pipeline.Wrapper 네임스페이스