The ClassType property of the Level interface contains an enumeration constant identifying the specific class type.
clsAggregationLevel | clsDatabaseLevel |
clsCubeLevel | clsPartitionLevel |
ClassTypes (an enumeration)
For level objects, ClassType is set to one of the following values:
For a complete list of class types, see Enumerations.
Read-only
Use the following code to return the class type of a level object and determine which object class has been returned:
'Assume an object (dsoLevel) of ClassType clsLevel exists
Dim objClass As ClassTypes
objClassType = dsoLevel.ClassType
Select Case objClassType
Case clsAggregationLevel
' AggregationLevel
Case clsCubeLevel
' CubeLevel
Case clsDatabaseLevel
' DatabaseLevel
Case clsPartitionLevel
' PartitionLevel
End Select
About Decision Support Objects | Using Decision Support Objects |
Properties Cross-Reference |