The ClassType property of the Role interface contains an enumeration constant identifying the specific class type.
clsCubeRole | clsDatabaseRole |
ClassTypes (an enumeration)
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 role object and determine which object class has been returned:
' Assume the existence of object RoleObject
Dim ClassTyp As ClassTypes
ClassTyp = RoleObject.ClassType
Select Case ClassTyp
Case clsDatabaseRole
' commands for a DatabaseRole object
Case clsCubeRole
' commands for a CubeRole object
Case Else
' other commands
End Select
About Decision Support Objects | Using Decision Support Objects |
Properties Cross-Reference | SubClassType |