Export (0) Print
Expand All

CubeHierarchyCollection.Move Method (String, Int32)

Moves a CubeHierarchy, with the specified identifier, to the specified index in the collection.

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

public CubeHierarchy Move(
	string hierarchyId,
	int toIndex
)

Parameters

hierarchyId
Type: String
The identifier of the CubeHierarchy to be moved.
toIndex
Type: Int32
The zero-based index to which to move the CubeHierarchy specified by hierarchyID.

ExceptionCondition
ArgumentOutOfRangeException

fromIndex is less than zero.

-or-

fromIndex is equal to or greater than Count.

-or-

hierarchyID is not contained by the collection.

Community Additions

ADD
Show:
© 2014 Microsoft