2.2.5.5 AttributeHierarchy Object

The AttributeHierarchy object represents the attribute hierarchy of a column in a table. It is an optional child object of a Column object and is implicitly created by the server. When the attribute hierarchy is present, the column becomes available as a hierarchy and can be queried by using the MDX language.

The AttributeHierarchy object has the following properties.

Name

Type

Description

ID

unsignedLong

A reference to the object.

ColumnID

unsignedLong

An ID-based reference to a Column object.

State

long

A value that provides information about the state of the AttributeHierarchy object. The possible values and their interpretation are as follows:

  • Ready (1) – The Attribute Hierarchy is queryable and has up-to-date data.

  • NoData (3) – Not applicable to Attribute Hierarchies.

  • CalculationNeeded (4) – The Attribute Hierarchy does not contain any data because it was not refreshed. There is no error associated with the attribute hierarchy.

  • SemanticError (5) - Not applicable to Attribute Hierarchies.

  • EvaluationError (6) - Not applicable to Attribute Hierarchies.

  • DependencyError (7) – The column that is associated with this Attribute Hierarchy is in an error state (SemanticError, EvaluationError, or DependencyError).

  • Incomplete (8) - Not applicable to Attribute Hierarchies.

  • SyntaxError (9) - Not applicable to Attribute Hierarchies.

AttributeHierarchyStorageID

unsignedLong

An ID-based reference to an AttributeHierarchyStorage object. The AttributeHierarchyStorage object is reserved for internal use only.

ModifiedTime

dateTime

The time that the object was last modified.

RefreshedTime

dateTime

The time that the object was last refreshed.