AggregationDimensionCollection.Move メソッド (String, Int32)

指定した識別子の AggregationDimension を、コレクション内の指定したインデックスに移動します。

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

構文

'宣言
Public Function Move ( _
    cubeDimensionId As String, _
    toIndex As Integer _
) As AggregationDimension
'使用
Dim instance As AggregationDimensionCollection 
Dim cubeDimensionId As String 
Dim toIndex As Integer 
Dim returnValue As AggregationDimension 

returnValue = instance.Move(cubeDimensionId, _
    toIndex)
public AggregationDimension Move(
    string cubeDimensionId,
    int toIndex
)
public:
AggregationDimension^ Move(
    String^ cubeDimensionId, 
    int toIndex
)
member Move : 
        cubeDimensionId:string * 
        toIndex:int -> AggregationDimension
public function Move(
    cubeDimensionId : String, 
    toIndex : int
) : AggregationDimension

パラメーター

戻り値

型: Microsoft.AnalysisServices.AggregationDimension
移動する AggregationDimension です。

例外

例外 条件
ArgumentOutOfRangeException

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

-または-

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

-または-

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

関連項目

参照

AggregationDimensionCollection クラス

Move オーバーロード

Microsoft.AnalysisServices 名前空間