RenameCube method: AnalyticModelDefn class

Syntax

RenameCube(CubeName, NewCubeName, ForceRename)

Description

Use the RenameCube method to rename the cube specified by CubeName to NewCubeName.

Parameters

Parameter Description

CubeName

Specify the name of the cube you want to rename.

NewCubeName

Specify the new name for the cube.

ForceRename

Specify if the cube should always be renamed. This parameter takes a Boolean value. If you specify ForceRename as false, and the cube is used by another part (such as a cube collection) this method fails. If you specify ForceRename as true, and the cube is used by another part, the cube is still renamed.

Returns

None.