The SubClassType property of the Level interface contains an enumeration constant identifying the subclass type of the object.
| clsAggregationLevel | clsDatabaseLevel |
| clsCubeLevel | clsPartitionLevel |
SubClassTypes (an enumeration)
Read-only
Objects that implement the Level interface, that is, those of ClassType clsCubeLevel, clsDatabaseLevel, or clsPartitionLevel, can have a SubClassType property of sbclsRegular or sbclsVirtual. Objects of ClassType clsAggregationLevel do not support a SubClassType property of sbclsVirtual. For more information, see SubClassTypes in Enumerations.
' Assume an object (dsoLevel) of ClassType clsCubeLevel exists
If dsoLevel.SubClassType = sbclsVirtual Then
'Code to handle a virtual level
Else
'Code to handle a regular level
End If
| About Decision Support Objects | Using Decision Support Objects |
| Properties Cross-Reference |