IDTSRuntimeConnectionCollection100.SetIndex メソッド

コレクション内でのランタイム接続オブジェクトの場所を変更します。

名前空間:  Microsoft.SqlServer.Dts.Pipeline.Wrapper
アセンブリ:  Microsoft.SqlServer.DTSPipelineWrap (Microsoft.SqlServer.DTSPipelineWrap.dll)

構文

'宣言
Sub SetIndex ( _
    lOldIndex As Integer, _
    lNewIndex As Integer _
)
'使用
Dim instance As IDTSRuntimeConnectionCollection100 
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
    ランタイム接続の現在の場所です。
  • lNewIndex
    型: System.Int32
    コレクション内でのランタイム接続の新しい場所です。

説明

SetIndex メソッドは、lOldIndex で指定した場所のランタイム接続を、lNewIndex で指定した場所に移動します。 コレクション内のどちらかの場所がコレクションの範囲外にある場合は、Microsoft.SqlServer.Dts.Runtime.HResults.DTS_E_INVALIDINDEX 例外が発生します。

関連項目

参照

IDTSRuntimeConnectionCollection100 インターフェイス

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