DeleteDimension method: AnalyticModelDefn class

Syntax

DeleteDimension(DimensionName, ForceDelete)

Description

Use the DeleteDimension method to delete the dimension specified by DimensionName.

Parameters

Parameter Description

DimensionName

Specify the name of the dimension you want to delete.

ForceDelete

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

Returns

None.