共用方式為


AreMemberNamesUnique (Level Interface)

[!附註]

  下一版的 Microsoft SQL Server 將不再提供此功能。請勿在新的開發工作中使用此功能,並且儘速修改使用此功能的應用程式。

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

備註

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).