SetIndex 方法
Changes the ___location of an IDTSInput100 object.
命名空间: Microsoft.SqlServer.Dts.Pipeline.Wrapper
程序集: Microsoft.SqlServer.DTSPipelineWrap(在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)
语法
声明
Sub SetIndex ( _
lOldIndex As Integer, _
lNewIndex As Integer _
)
用法
Dim instance As IDTSInputCollection100
Dim lOldIndex As Integer
Dim lNewIndex As Integer
instance.SetIndex(lOldIndex, lNewIndex)
void SetIndex(
int lOldIndex,
int lNewIndex
)
void SetIndex(
[InAttribute] int lOldIndex,
[InAttribute] int lNewIndex
)
abstract SetIndex :
lOldIndex:int *
lNewIndex:int -> unit
function SetIndex(
lOldIndex : int,
lNewIndex : int
)
参数
- lOldIndex
类型:System. . :: . .Int32
The current ___location of the input in the collection.
- lNewIndex
类型:System. . :: . .Int32
The new ___location of the input in the collection.
注释
The SetIndex method moves the input at the ___location specified by lOldIndex to the ___location specified by lNewIndex. If either of the locations in the collection is outside the bounds of the collection, a Microsoft.SqlServer.Dts.Runtime.HResults.DTS_E_INVALIDINDEX exception occurs.