다음을 통해 공유


AreMemberKeysUnique

[!참고]   이 기능은 다음 버전의 Microsoft SQL Server에서 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 말고, 현재 이 기능을 사용하는 응용 프로그램은 가능한 한 빨리 수정하십시오.

The AreMemberKeysUnique property of the Dimension interface indicates whether member keys are unique throughout the dimension and whether these members can be referred to by their keys.

Applies To:clsAggregationDimension, clsCubeDimension, clsDatabaseDimension, clsPartitionDimension

Data Type

Boolean

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

주의

This property can be set to True only if the AreMemberKeysUnique property is set to True for all of the levels in the dimension.

This property can be used in two situations:

  • When you know that the position of a member (and that of the children of the member) may move within a dimension hierarchy. You can make the method for generating unique names more consistent by using this property to determine whether or not a member, name, or key is guaranteed to be unique within the dimension (or level).
  • When you need to improve server performance. Data can be more easily validated if you use this property to inform the server that a dimension key is not unique within the dimension or level.

' Assume the existence of a database dimension named dsoDim.
dsoDim.AreMemberKeysUnique = True

참고 항목

참조

AreMemberNamesUnique (Dimension Interface)
AreMemberKeysUnique (Level Interface)
Dimension Interface

도움말 및 정보

SQL Server 2005 지원 받기