AttributeHierarchyEnabled Element (ASSL)

Determines whether an attribute hierarchy is enabled for the attribute.

语法

<DimensionAttribute><!-- or CubeAttribute -->
   ...
   <AttributeHierarchyEnabled>...</AttributeHierarchyEnabled>
   ...
</DimensionAttribute>

Element Characteristics

Characteristic Description

Data type and length

Boolean

Default value

True

Cardinality

0-1: Optional element that can occur once and only once.

Element Relationships

Relationship Element

Parent element

CubeAttribute, DimensionAttribute

Child elements

None

备注

The AttributeHierarchyEnabled element determines whether an attribute hierarchy is generated by Microsoft SQL Server 2005 Analysis Services (SSAS) for the attribute. If the attribute hierarchy is not enabled, then the attribute cannot be used in a user-defined hierarchy, nor can the attribute hierarchy be referenced in Multidimensional Expressions (MDX) statements.

The elements that correspond to the parents of AttributeHierarchyEnabled in the Analysis Management Objects (AMO) object model are CubeAttribute and DimensionAttribute.

请参阅

参考

AttributeHierarchyVisible Element (ASSL)
Properties (ASSL)

帮助和信息

获取 SQL Server 2005 帮助