共用方式為


IDTSCustomPropertyCollection100.SetIndex 方法

Changes the location of an IDTSCustomProperty100 object in a collection.

命名空間:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件:  Microsoft.SqlServer.DTSPipelineWrap (在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)

語法

'宣告
Sub SetIndex ( _
    lOldIndex As Integer, _
    lNewIndex As Integer _
)
'用途
Dim instance As IDTSCustomPropertyCollection100 
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 property in the collection.
  • lNewIndex
    型別:System.Int32
    The new location of the property in the collection.

請參閱

參考

IDTSCustomPropertyCollection100 介面

Microsoft.SqlServer.Dts.Pipeline.Wrapper 命名空間