Share via


Hierarchy Class

Represents a dimension hierarchy contained by a dimension or set.

Inheritance Hierarchy

Object
  Microsoft.AnalysisServices.AdomdServer.Hierarchy

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

Syntax

'Declaration
Public NotInheritable Class Hierarchy _
    Implements IDisposable, IMetadataObject
'Usage
Dim instance As Hierarchy
public sealed class Hierarchy : IDisposable, 
    IMetadataObject
public ref class Hierarchy sealed : IDisposable, 
    IMetadataObject
[<SealedAttribute>]
type Hierarchy =  
    class 
        interface IDisposable 
        interface IMetadataObject 
    end
public final class Hierarchy implements IDisposable, IMetadataObject

The Hierarchy type exposes the following members.

Properties

  Name Description
Public property Caption Gets the caption of the Hierarchy.
Public property CurrentMember Gets the current member for the hierarchy.
Public property DefaultMember Gets the unique name of the default member for the Hierarchy.
Public property Description Gets the description of the Hierarchy.
Public property DisplayFolder Gets the fully qualified name of a display folder. This member is reserved for future use.
Public property HierarchyOrigin Gets the hierarchy type of the Hierarchy.
Public property Levels Gets a LevelCollection that contains the levels of the Hierarchy.
Public property Name Gets the name of the Hierarchy.
Public property ParentDimension Gets a Dimension that contains the Hierarchy.
Public property Properties Gets a PropertyCollection that contains the properties associated with the Hierarchy.
Public property UniqueName Gets the unique name of the Hierarchy.

Top

Methods

  Name Description
Public method {dtor} Releases all resources used by the Hierarchy.
Public method Dispose Releases all resources used by the Hierarchy.
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

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.

Thread Safety

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

See Also

Reference

Microsoft.AnalysisServices.AdomdServer Namespace