AreMemberNamesUnique (Level Interface)

[!REMARQUE]

  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 AreMemberNamesUnique property of the Level interface indicates whether the names of members are unique throughout the level and then determines a naming scheme based on the indication.

Applies To:clsAggregationLevel, clsCubeLevel, clsDatabaseLevel, clsPartitionLevel

Data Type

Boolean

Access

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

Class type

Access

clsDatabaseLevel

R/W

clsCubeLevel

R

clsPartitionLevel

R

clsAggregationLevel

R

Notes

If AreMemberNamesUnique is False, each member name is assumed to be unique only among its siblings. In this case, the unique name for the member is constructed using the name of the member and the names of its ancestors. If the property for the level is True, each member name is assumed to be unique for the entire level. In this case, the unique name for the member is constructed using only the dimension name, the level name, and the member name. Other properties, such as connection string and Registry settings, can influence the method by which unique member names are generated. This property is read-only and always True for the (All) level of a dimension (that is, the level that has a LevelType of levAll). Additionally, this property is read-only and always False for levels with automatic grouping (that is, a level that has a Grouping property of groupingAutomatic).