Move Method (String, Int32)

PerspectiveDimensionCollection.Move Method (String, Int32)

Moves the PerspectiveDimension that has the specified identifier to the specified index in the collection.

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

public PerspectiveDimension Move(
	string cubeDimensionId,
	int toIndex
)

Parameters

cubeDimensionId
Type: System.String
toIndex
Type: System.Int32
The zero-based index to which to move the PerspectiveDimension specified by cubeDimensionID.

ExceptionCondition
ArgumentOutOfRangeException

fromIndex is less than zero.

-or-

fromIndex is equal to or greater than [H:Microsoft.AnalysisServices.ModelComponentCollection.Count].

-or-

cubeDimensionID does not exist in the collection.

Community Additions

ADD
Show:
© 2016 Microsoft