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