Hierarchy Class
SQL Server 2012
Represents a dimension hierarchy contained by a dimension or set.
Namespace: Microsoft.AnalysisServices.AdomdServer
Assembly: msmgdsrv (in msmgdsrv.dll)
The Hierarchy type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Caption | Gets the caption of the Hierarchy. |
![]() | CurrentMember | Gets the current member for the hierarchy. |
![]() | DefaultMember | Gets the unique name of the default member for the Hierarchy. |
![]() | Description | Gets the description of the Hierarchy. |
![]() | DisplayFolder | Gets the fully qualified name of a display folder. This member is reserved for future use. |
![]() | HierarchyOrigin | Gets the hierarchy type of the Hierarchy. |
![]() | Levels | Gets a LevelCollection that contains the levels of the Hierarchy. |
![]() | Name | Gets the name of the Hierarchy. |
![]() | ParentDimension | Gets a Dimension that contains the Hierarchy. |
![]() | Properties | Gets a PropertyCollection that contains the properties associated with the Hierarchy. |
![]() | UniqueName | Gets the unique name of the Hierarchy. |
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.

