DeleteCube method: AnalyticModelDefn class

Syntax

DeleteCube(CubeName, ForceDelete)

Description

Use the DeleteCube method to delete the cube specified by CubeName.

Parameters

Parameter Description

CubeName

Specify the name of the cube you want to delete from the analytic model.

ForceDelete

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

Returns

None.