Export (0) Print
Expand All

CubeCollection.Move Method (String, Int32)

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

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

public Cube Move(
	string id,
	int toIndex
)

Parameters

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

Return Value

Type: Microsoft.AnalysisServices.Cube
The Cube to be moved.

ExceptionCondition
ArgumentOutOfRangeException

fromIndex is less than zero.

-or-

fromIndex is equal to or greater than Count.

-or-

id is not contained by the collection.

Community Additions

Show:
© 2015 Microsoft