We recommend using Visual Studio 2017

Hierarchy Class

Represents a hierarchy in a dimension. This class cannot be inherited.

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

public sealed class Hierarchy : NamedComponent, 

The Hierarchy type exposes the following members.

Public methodHierarchy()Initializes a new instance of the Hierarchy class using default values.
Public methodHierarchy(String)Initializes a new instance of Hierarchy using a name.
Public methodHierarchy(String, String)Initializes a new instance of Hierarchy, using a name and an identifier.

Public propertyAllMemberNameGets or sets the all member name property of the Hierarchy object.
Public propertyAllMemberTranslationsGets the all member translations property of the Hierarchy object.
Public propertyAllowDuplicateNamesGets or sets the Boolean value to allow duplicate names for a Hierarchy object.
Public propertyAnnotationsGets a collection within which you can store custom data. (Inherited from ModelComponent.)
Protected propertyCanRaiseEvents (Inherited from Component.)
Public propertyContainer (Inherited from Component.)
Public propertyDescription (Inherited from NamedComponent.)
Protected propertyDesignMode (Inherited from Component.)
Public propertyDisplayFolderGets or sets the display folder associated with the Hierarchy object.
Protected propertyEvents (Inherited from Component.)
Protected propertyFriendlyName (Inherited from NamedComponent.)
Public propertyID (Inherited from NamedComponent.)
Protected propertyKeyForCollection (Inherited from NamedComponent.)
Public propertyLevelsGets the levels associated with the Hierarchy object.
Public propertyMemberKeysUnique
Public propertyMemberNamesUniqueGets or sets the property member names unique for the Hierarchy object.
Public propertyName (Inherited from NamedComponent.)
Public propertyOwningCollectionGets or sets the collection that contains the ModelComponent. (Inherited from ModelComponent.)
Public propertyParentGets the parent Dimension of the Hierarchy object.
Public propertyParentDatabaseGets the parent Database of the Hierarchy object.
Public propertyParentServerGets the parent Server of the Hierarchy object.
Public propertySite (Inherited from NamedComponent.)
Public propertySiteID (Inherited from NamedComponent.)
Public propertyTranslationsGets the collection of translations associated with a Hierarchy object.

Protected methodAddToContainerInfrastructure. (Inherited from ModelComponent.)
Protected methodAfterInsertInfrastructure. (Inherited from ModelComponent.)
Protected methodAfterMoveInfrastructure. (Inherited from ModelComponent.)
Protected methodAfterRemoveInfrastructure. (Inherited from ModelComponent.)
Protected methodBeforeRemoveInfrastructure. (Inherited from ModelComponent.)
Public methodCloneCreates a new, full copy of an object.
Public methodCopyTo(Hierarchy)Copies a Hierarchy object to the specified object.
Protected methodCopyTo(ModelComponent)Infrastructure. (Inherited from ModelComponent.)
Protected methodCopyTo(NamedComponent) (Inherited from NamedComponent.)
Public methodCreateObjRef (Inherited from MarshalByRefObject.)
Public methodDispose() (Inherited from Component.)
Protected methodDispose(Boolean) (Inherited from Component.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Component.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetLifetimeService (Inherited from MarshalByRefObject.)
Protected methodGetService (Inherited from Component.)
Public methodGetType (Inherited from Object.)
Public methodInitializeLifetimeService (Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone() (Inherited from Object.)
Protected methodMemberwiseClone(Boolean) (Inherited from MarshalByRefObject.)
Protected methodRemoveFromContainerInfrastructure. (Inherited from ModelComponent.)
Protected methodReset (Inherited from NamedComponent.)
Public methodSubmit()Infrastructure. (Inherited from ModelComponent.)
Public methodSubmit(Boolean)Infrastructure. (Inherited from ModelComponent.)
Public methodToString (Inherited from NamedComponent.)
Public methodValidate(ValidationErrorCollection)Validates the element to which it is appended; returns any errors encountered in a collection. (Inherited from ModelComponent.)
Public methodValidate(ValidationErrorCollection, Boolean)Validates the element to which it is appended; returns any errors encountered in a collection. Also contains a parameter to enable return of detailed errors. (Inherited from ModelComponent.)
Public methodValidate(ValidationErrorCollection, Boolean, ServerEdition) (Overrides NamedComponent.Validate(ValidationErrorCollection, Boolean, ServerEdition).)

Public eventDisposed (Inherited from Component.)

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