Partager via


IsDefault (MDStore Interface)

ms133457.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 IsDefault property of the MDStore interface indicates that an MDStore object is the default partition of a cube or the default aggregation of a partition.

Applies To:clsAggregation, clsPartition

Data Type

Boolean

Access

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

Class type Access

clsAggregation

R/W

clsPartition

R

Notes

The default value for this property depends on the value of the ClassType property of the object.

Class type Default value

clsAggregation

If you generate the aggregation by using an object of ClassType clsPartitionAnalyzer, the system automatically sets IsDefault to True. Generating aggregations in this way has performance benefits and is the recommended method for generating aggregations.

If you generate the aggregation without using a partition analyzer object, you should set IsDefault to False.

clsPartition

True if the partition is the only one in the cube, False otherwise.

ms133457.note(fr-fr,SQL.90).gifRemarque :
  This property does not indicate that an aggregation object is the default within a collection of aggregations. If set to True, it indicates that the aggregation object contains the default dimensions and measures of the partition, which are already stored in the repository. This reduces the size of aggregation metadata, which can become important when a partition contains a large number of aggregations.

Voir aussi

Référence

MDStore Interface

Aide et Informations

Assistance sur SQL Server 2005