Analysis Services Programming
SubClassType (Level Interface)
The SubClassType property of the Level interface contains an enumeration constant that identifies the subclass type of the object.
Applies To
Data Type
Access
Read-only
Remarks
Objects that implement the Level interface can have a SubClassType property of sbclsRegular, sbclsLinked, sbclsVirtual, sbclsMining, or sbclsParentChild.
Example
Use the following code to check the SubClassType property of a level object.
' Assume an object (dsoLevel) of ClassType clsCubeLevel exists
If dsoLevel.SubClassType = sbclsParentChild Then
'Code to handle a parent-child level
Else
'Code to handle other types of levels
End If