ClassType

The ClassType property of the Role interface contains an enumeration constant identifying the specific class type.

Applies To
clsCubeRole clsDatabaseRole

Data Type

ClassTypes (an enumeration)

Values

ClassType is set to one of the following values:

For a complete list of class types, see Enumerations.

Access

Read-only

Example

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

See Also
About Decision Support Objects Using Decision Support Objects
Properties Cross-Reference SubClassType

(c) 1988-1998 Microsoft Corporation. All Rights Reserved.