Jaa


AttributeHierarchy Class

Definition

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 in the multidimensional engine and can be queried by using MDX.

public sealed class AttributeHierarchy : Microsoft.AnalysisServices.Tabular.MetadataObject
type AttributeHierarchy = class
    inherit MetadataObject
Public NotInheritable Class AttributeHierarchy
Inherits MetadataObject
Inheritance
AttributeHierarchy

Constructors

AttributeHierarchy()

Create a new instance of the AttributeHierarchy class with default settings.

Properties

Annotations

Gets the collection object of all annotations in the current AttributeHierarchy.

Column

A reference to a Column object that owns this AttributeHierarchy.

ExtendedProperties

Gets the collection object of all extendedproperties in the current AttributeHierarchy.

IsRemoved

A Boolean specifying whether this object was removed from an object tree.

(Inherited from MetadataObject)
Model

Gets the Tabular model that contains this object.

(Inherited from MetadataObject)
ModifiedTime

The time that the object was last modified.

ObjectType

Gets the type of object.

(Inherited from MetadataObject)
Parent

Parent object, null for Model objects.

RefreshedTime

The time that the object was last refreshed.

State

Provides information on the state of the Attribute Hierarchy. 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.

Methods

Clone()

Creates a new, full copy of a AttributeHierarchy object.

CopyFrom(AttributeHierarchy)
Obsolete.

Deprecated. Use CopyTo method instead.

CopyTo(AttributeHierarchy)

Copies a AttributeHierarchy object to the specified object.

Validate()

This API supports the product infrastructure and is not intended to be used directly from your code. Microsoft Internal Use Only.

(Inherited from MetadataObject)

Applies to