ClassType

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

Applies To
clsAggregationDimension clsDatabaseDimension
clsCubeDimension clsPartitionDimension

Data Type

ClassTypes (an enumeration )

For dimension objects, ClassType is one of the following:

For a complete list of class types, see Enumerations.

Access

Read-only

Example

Use the following code to obtain the class type of a dimension object:

Dim objClassType As ClassTypes
objClassType = DimensionObject.ClassType
Select Case objClassType
  Case clsDatabaseDimension
       ' commands for a DatabaseDimension
  Case clsCubeDimension
       ' commands for a CubeDimension or Virtual Cube Dimension
  Case clsPartitionDimension
       ' commands for a PartitionDimension
  Case clsAggregationDimension
       ' commands for an AggregationDimension
  Case Else
       ' other commands

End Select

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

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