Hierarchy Class

Represents a dimension hierarchy contained by a dimension or set.

Inheritance Hierarchy

System.Object
  Microsoft.AnalysisServices.AdomdClient.Hierarchy

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

Syntax

'Declaration
Public NotInheritable Class Hierarchy
'Usage
Dim instance As Hierarchy
public sealed class Hierarchy
public ref class Hierarchy sealed
[<SealedAttribute>]
type Hierarchy =  class end
public final class Hierarchy

The Hierarchy type exposes the following members.

Properties

  Name Description
Public property Caption Gets the caption of 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 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 Equals Determines whether two instances of Hierarchy are equal. (Overrides Object.Equals(Object).)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type, for use in hashing algorithms and data structures such as hash tables. (Overrides Object.GetHashCode().)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Returns a String that represents the current Hierarchy. (Overrides Object.ToString().)

Top

Operators

  Name Description
Public operatorStatic member Equality Determines whether two specified instances of Hierarchy are equal.
Public operatorStatic member Inequality Determines whether two specified instances of Hierarchy have different values.

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.