MeasureGroupDimensionCollection.Move Method (String, Int32)

 

Updated: May 24, 2016

Moves a MeasureGroupDimension in the collection to a specified position.

Namespace:   Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

public MeasureGroupDimension Move(
	string cubeDimensionId,
	int toIndex
)

Parameters

cubeDimensionId
Type: System.String

The cube dimension identifier of the MeasureGroupDimension to be moved.

toIndex
Type: System.Int32

The zero-based index where the MeasureGroupDimension will be moved.

Exception Condition
ArgumentOutOfRangeException

fromIndex is less than zero.

-or-

fromIndex is equal to or greater than Count.

-or-

cubeDimensionID does not exist in the collection.

Return to top
Show: