The SubClassType property of the MDStore interface contains the enumeration constant identifying the subclass type of the object.
clsAggregation | clsDatabase |
clsCube | clsPartition |
SubClassTypes (an enumeration)
Read-only
Objects that implement the MDStore interface, that is, those of ClassType clsAggregation, clsCube, clsDatabase, or clsPartition, can have a SubClassType property value of sbclsRegular. An object of ClassType clsCube can also be of SubClassType sbclsVirtual. For more information, see SubClassTypes in Enumerations.
'Assume an object (dsoCube) of ClassType clsCube exists
If dsoCube.SubClassType = sbclsVirtual Then
'Code to handle a virtual cube
Else
'Code to handle a regular cube
End If
About Decision Support Objects | Using Decision Support Objects |
Properties Cross-Reference |