We recommend using Visual Studio 2017

Hierarchy Class

Represents a dimension hierarchy contained by a dimension or set.


Namespace:  Microsoft.AnalysisServices.AdomdServer
Assembly:  msmgdsrv (in msmgdsrv.dll)

public sealed class Hierarchy : IDisposable, 

The Hierarchy type exposes the following members.

Public propertyCaptionGets the caption of the Hierarchy.
Public propertyCurrentMemberGets the current member for the hierarchy.
Public propertyDefaultMemberGets the unique name of the default member for the Hierarchy.
Public propertyDescriptionGets the description of the Hierarchy.
Public propertyDisplayFolderGets the fully qualified name of a display folder. This 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 method{dtor}Releases all resources used by the Hierarchy.
Public methodDisposeReleases all resources used by the Hierarchy.
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)

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.