IDTSRuntimeConnectionCollection100.SetIndex(Int32, Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
更改集合中运行时连接对象的位置。
public:
void SetIndex(int lOldIndex, int lNewIndex);
[System.Runtime.InteropServices.DispId(19)]
public void SetIndex(int lOldIndex, int lNewIndex);
[<System.Runtime.InteropServices.DispId(19)>]
abstract member SetIndex : int * int -> unit
Public Sub SetIndex (lOldIndex As Integer, lNewIndex As Integer)
参数
- lOldIndex
- Int32
运行时连接的当前位置。
- lNewIndex
- Int32
运行时连接集合中的新位置。
- 属性
注解
该 SetIndex 方法将运行时连接在指定 lOldIndex 位置移动到指定位置 lNewIndex。 如果集合中的任一位置不在集合的边界之外,那么 Microsoft。SqlServer.Dts.Runtime.HResults.DTS_E_INVALIDINDEX例外。