IDTSRuntimeConnectionCollection100.NewAt(Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在集合中的指定位置处添加新的运行时连接。
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异常。