ClearDeployLocations Method
The ClearDeployLocations method removes all deployment locations.
Syntax
Cube .ClearDeployLocations
Applies To
Discussion
Use this method to remove all deployment locations from the Cube object. This method can be used to prepare before or cleanup after a PowerCube deployment. In a cube group scenario, child cubes are also affected. This does not applies to time-partitioned cubes.
A COM exception is thrown in error situations. The message that is passed with the exception varies depending on the error situation.
Return Type
None
Examples
cube = model.Cubes.Item("National")cube.ClearDeployLocations()
'Remove the deployment locations from the model