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.