Condividi tramite


Classe Hierarchy

Represents a dimension hierarchy contained by a dimension or set.

Gerarchia di ereditarietà

System. . :: . .Object
  Microsoft.AnalysisServices.AdomdClient..::..Hierarchy

Spazio dei nomi  Microsoft.AnalysisServices.AdomdClient
Assembly:  Microsoft.AnalysisServices.AdomdClient (in Microsoft.AnalysisServices.AdomdClient.dll)

Sintassi

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

Nel tipo Hierarchy sono esposti i membri seguenti.

Proprietà

  Nome Descrizione
Proprietà pubblica Caption Gets the caption of the Hierarchy.
Proprietà pubblica DefaultMember Gets the unique name of the default member for the Hierarchy.
Proprietà pubblica Description Gets the description of the Hierarchy.
Proprietà pubblica DisplayFolder This member is reserved for future use.
Proprietà pubblica HierarchyOrigin Gets the hierarchy type of the Hierarchy.
Proprietà pubblica Levels Gets a LevelCollection that contains the levels of the Hierarchy.
Proprietà pubblica Name Gets the name of the Hierarchy.
Proprietà pubblica ParentDimension Gets a Dimension that contains the Hierarchy.
Proprietà pubblica Properties Gets a PropertyCollection that contains the properties associated with the Hierarchy.
Proprietà pubblica UniqueName Gets the unique name of the Hierarchy.

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals Determines whether two instances of Hierarchy are equal. Esegue l'override di Object. . :: . .Equals(Object).
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetHashCode Serves as a hash function for a particular type, for use in hashing algorithms and data structures such as hash tables. Esegue l'override di Object. . :: . .GetHashCode() () () ().
Metodo pubblico GetType Ereditato da Object.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo pubblico ToString Returns a String that represents the current Hierarchy. Esegue l'override di Object. . :: . .ToString() () () ().

In alto

Operatori

  Nome Descrizione
Operatore pubblicoMembro statico Equality Determines whether two specified instances of Hierarchy are equal.
Operatore pubblicoMembro statico Inequality Determines whether two specified instances of Hierarchy have different values.

In alto

Osservazioni

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.

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.