Partager via


DimensionType (Dimension Interface)

ms134873.note(fr-fr,SQL.90).gifRemarque :
  Cette fonctionnalité sera supprimée dans la prochaine version de Microsoft SQL Server. Évitez d'utiliser cette fonctionnalité dans de nouveaux travaux de développement, et modifiez dès que possible les applications qui utilisent actuellement cette fonctionnalité.

The DimensionType property of the Dimension interface contains an enumeration constant that identifies the specific type of dimension.

Applies To:clsAggregationDimension, clsCubeDimension, clsDatabaseDimension, clsPartitionDimension

Data Type

DimensionTypes

Access

Access depends on the value of the ClassType property of the object.

Class type Access

clsDatabaseDimension

R/W

clsCubeDimension

R

clsPartitionDimension

R

clsAggregationDimension

R

Notes

The DimensionType property provides both the Analysis server and client applications with information about the contents of the dimension. For example, a client application may benefit from knowing that a dimension is based upon geography, and another on time. When accepting user inputs for these dimensions (say, in a filter statement), the client application can use a Map control for the Geography dimension and a Calendar control for the Time dimension.

Exemple

Use the following code to set the DimensionType property of a dimension object:

'Assume an object (dsoDim) of ClassType clsDatabaseDimension exists.
dsoDim.DimensionType = dimRegular

Voir aussi

Référence

Dimension Interface

Aide et Informations

Assistance sur SQL Server 2005