Hierarchy 类

Represents a dimension hierarchy contained by a dimension or set.

继承层次结构

System. . :: . .Object
  Microsoft.AnalysisServices.AdomdServer..::..Hierarchy

命名空间:  Microsoft.AnalysisServices.AdomdServer
程序集:  msmgdsrv(在 msmgdsrv.dll 中)

语法

声明
Public NotInheritable Class Hierarchy _
    Implements IDisposable, IMetadataObject
用法
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

Hierarchy 类型公开以下成员。

属性

  名称 说明
公共属性 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 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.

页首

方法

  名称 说明
公共方法 {dtor} Releases all resources used by the Hierarchy.
公共方法 Dispose Releases all resources used by the Hierarchy.
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 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.

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。