The ClassType property of the Dimension interface contains an enumeration constant identifying the specific class type.
clsAggregationDimension | clsDatabaseDimension |
clsCubeDimension | clsPartitionDimension |
ClassTypes (an enumeration )
For dimension objects, ClassType is one of the following:
For a complete list of class types, see Enumerations.
Read-only
Use the following code to obtain the class type of a dimension object:
Dim objClassType As ClassTypes
objClassType = DimensionObject.ClassType
Select Case objClassType
Case clsDatabaseDimension
' commands for a DatabaseDimension
Case clsCubeDimension
' commands for a CubeDimension or Virtual Cube Dimension
Case clsPartitionDimension
' commands for a PartitionDimension
Case clsAggregationDimension
' commands for an AggregationDimension
Case Else
' other commands
End Select
About Decision Support Objects | Using Decision Support Objects |
Properties Cross-Reference |