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例外被抛出。

适用于