Partager via


AttributeHierarchyEnabled Element (ASSL)

Determines whether an attribute hierarchy is enabled for the attribute.

Syntaxe

<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

Notes

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.

Voir aussi

Référence

AttributeHierarchyVisible Element (ASSL)
Properties (ASSL)

Aide et Informations

Assistance sur SQL Server 2005