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