IDTSRuntimeConnectionCollection100.NewAt(Int32) 方法

定义

在集合中的指定位置处添加新的运行时连接。

public:
 Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSRuntimeConnection100 ^ NewAt(int lIndex);
[System.Runtime.InteropServices.DispId(15)]
public Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSRuntimeConnection100 NewAt (int lIndex);
[<System.Runtime.InteropServices.DispId(15)>]
abstract member NewAt : int -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSRuntimeConnection100
Public Function NewAt (lIndex As Integer) As IDTSRuntimeConnection100

参数

lIndex
Int32

要在集合中添加新运行时连接的位置。

返回

新创建的 IDTSRuntimeConnection100 连接。

属性

注解

该方法 NewAt 在集合中的指定位置创建新的运行时连接,并返回新创建的连接对象。 lIndex如果参数在集合边界之外,则会引发Microsoft.SqlServer.Dts.Runtime.HResults.DTS_E_INVALIDINDEX异常。

适用于