AggregationInstanceMeasureCollection.Move Method (Int32, Int32)

指定した AggregationInstanceMeasure を、コレクション内のある位置から別の位置に移動します。

名前空間: Microsoft.AnalysisServices
アセンブリ: Microsoft.AnalysisServices (microsoft.analysisservices.dll 内)

構文

'宣言
Public Function Move ( _
    fromIndex As Integer, _
    toIndex As Integer _
) As AggregationInstanceMeasure
public AggregationInstanceMeasure Move (
    int fromIndex,
    int toIndex
)
public:
AggregationInstanceMeasure^ Move (
    int fromIndex, 
    int toIndex
)
public AggregationInstanceMeasure Move (
    int fromIndex, 
    int toIndex
)
public function Move (
    fromIndex : int, 
    toIndex : int
) : AggregationInstanceMeasure

パラメータ

  • fromIndex
    コレクション内の以前のインデックス位置を指定します。
  • toIndex
    コレクション内の新しいインデックス位置を指定します。

戻り値

コレクション内で移動した AggregationInstanceMeasure です。

例外

例外の種類 条件
ArgumentOutOfRangeException

次のいずれかのエラー メッセージが表示される場合があります。

toIndex に 0 より小さい値が指定されています。

toIndex に H:Microsoft.AnalysisServices.ModelComponentCollection.Count 以上の値が指定されています。

item がコレクションに含まれていません。

スレッド セーフ

この型の public static (Microsoft Visual Basic では共有 ) メンバは、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。

プラットフォーム

開発プラットフォーム

サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。

対象プラットフォーム

サポートされているプラットフォームの一覧については、「SQL Server 2005 のインストールに必要なハードウェアおよびソフトウェア」を参照してください。

参照

関連項目

AggregationInstanceMeasureCollection Class
AggregationInstanceMeasureCollection Members
Microsoft.AnalysisServices Namespace