IsDisabled

The IsDisabled property of the Level interface indicates whether the level is disabled.

Applies To
clsAggregationLevel clsPartitionLevel
clsCubeLevel  

Data Type

Boolean

Access

The access type depends on the level object class.

Class Access
clsCubeLevel R/W
clsCubeLevel (for virtual cubes) R
clsPartitionLevel R
clsAggregationLevel R

Remarks

If a level is disabled, it does not show up in a processed cube (that is, you cannot see the level when querying the cube using MDX).


Note When a level is disabled, all subordinate levels are automatically disabled. When a level is enabled, all higher levels are automatically enabled. At least one level must be enabled.


Example

Use the following code to disable a level object:

' Assume an object (dsoCubeLevel) of ClassType clsCubeLevel exists

dsoCubeLevel.IsDisabled = True

See Also
About Decision Support Objects Using Decision Support Objects
Properties Cross-Reference  

(c) 1988-1998 Microsoft Corporation. All Rights Reserved.