Hierarchy Class

Represents a dimension hierarchy contained by a dimension or set.


Namespace:  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

public sealed class Hierarchy

The Hierarchy type exposes the following members.

Public propertyCaptionGets the caption of the Hierarchy.
Public propertyDefaultMemberGets the unique name of the default member for the Hierarchy.
Public propertyDescriptionGets the description of the Hierarchy.
Public propertyDisplayFolderThis member is reserved for future use.
Public propertyHierarchyOriginGets the hierarchy type of the Hierarchy.
Public propertyLevelsGets a LevelCollection that contains the levels of the Hierarchy.
Public propertyNameGets the name of the Hierarchy.
Public propertyParentDimensionGets a Dimension that contains the Hierarchy.
Public propertyPropertiesGets a PropertyCollection that contains the properties associated with the Hierarchy.
Public propertyUniqueNameGets the unique name of the Hierarchy.

Public methodEqualsDetermines whether two instances of Hierarchy are equal. (Overrides Object.Equals(Object).)
Public methodGetHashCodeServes as a hash function for a particular type, for use in hashing algorithms and data structures such as hash tables. (Overrides Object.GetHashCode().)
Public methodGetType (Inherited from Object.)
Public methodToStringReturns a String that represents the current Hierarchy. (Overrides Object.ToString().)

Public operatorStatic memberEqualityDetermines whether two specified instances of Hierarchy are equal.
Public operatorStatic memberInequalityDetermines whether two specified instances of Hierarchy have different values.

A hierarchy represents a set of members and their positions relative to one another. From the top of the pyramidal structure to the bottom, the members are progressively more detailed. User hierarchies are defined to represent a hierarchy that has meaning to the user or application.

In ADOMD.NET, the Hierarchy can represent both parent-child hierarchies and user hierarchies. The HierarchyOrigin property is used to differentiate between the hierarchy structures.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions