Hierarchy Class

Definition

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

[System.Runtime.InteropServices.Guid("DDF80B10-1300-436a-ACC8-E8EFF1AB8CB1")]
public sealed class Hierarchy : Microsoft.AnalysisServices.NamedComponent, ICloneable
[<System.Runtime.InteropServices.Guid("DDF80B10-1300-436a-ACC8-E8EFF1AB8CB1")>]
type Hierarchy = class
    inherit NamedComponent
    interface ICloneable
Public NotInheritable Class Hierarchy
Inherits NamedComponent
Implements ICloneable
Inheritance
Attributes
Implements

Constructors

Hierarchy()

Initializes a new instance of the Hierarchy class using default values.

Hierarchy(String, String)

Initializes a new instance of Hierarchy using the specified name and identifier.

Hierarchy(String)

Initializes a new instance of Hierarchy using the specified name.

Fields

MaxIDLength

Specifies the maximum length of the identifier.

(Inherited from NamedComponent)
MaxNameLength

Specifies the maximum length of the name.

(Inherited from NamedComponent)

Properties

AllMemberName

Gets or sets the all member name of the Hierarchy object.

AllMemberTranslations

Gets the all member translations of the Hierarchy object.

AllowDuplicateNames

Gets or sets an indication if to allow duplicate names for a Hierarchy object.

Annotations

Gets a collection within which you can store custom data.

(Inherited from ModelComponent)
Description

Gets or sets the description of the component.

(Inherited from NamedComponent)
DisplayFolder

Gets or sets the display folder associated with the Hierarchy object.

FriendlyName

Gets a user-friendly name for the component.

(Inherited from NamedComponent)
ID

Gets or sets the identifier of the component.

(Inherited from NamedComponent)
KeyForCollection

Gets the key used in collections.

(Inherited from NamedComponent)
Levels

Gets the levels associated with the Hierarchy object.

MemberKeysUnique

Gets or sets an indication whether the member keys are required to be unique.

MemberNamesUnique

Gets or sets an indication if member names are unique for the Hierarchy object.

Name

Gets or sets the name of the component.

(Inherited from NamedComponent)
OwningCollection

Gets or sets the collection that contains the ModelComponent.

(Inherited from ModelComponent)
Parent

Gets the parent Dimension object of the Hierarchy object.

ParentDatabase

Gets the parent Database object of the Hierarchy object.

ParentServer

Gets the parent Server object of the Hierarchy object.

ProcessingState

Gets or sets the processing state of the hierarchy.

Site

Gets or sets the site associated with the component.

(Inherited from NamedComponent)
SiteID

Gets or sets the identifier for the site associated with the component.

(Inherited from NamedComponent)
StructureType

Gets or sets the current hierarchy structure.

Translations

Gets the collection of translations associated with a Hierarchy object.

VisualizationProperties

Gets or sets the properties that can be used by reporting tools to provide enhanced formatting.

Methods

AddToContainer(IContainer)

Adds the ModelComponent object to the specified container.

(Inherited from ModelComponent)
AfterInsert(Int32)

Displays a ModelComponent object after added to the specified index.

(Inherited from ModelComponent)
AfterMove(Int32, Int32)

Displays a ModelComponent object after moving to the specified index.

(Inherited from ModelComponent)
AfterRemove(ModelComponentCollection)

Displays a ModelComponentCollection after a ModelComponent object is removed.

(Inherited from ModelComponent)
BeforeRemove(Boolean)

Removes the ModelComponent object before the cleanup.

(Inherited from ModelComponent)
Clone()

Returns a clone of the object.

CopyTo(Hierarchy)

Copies the content of this object to another object (the destination).

CopyTo(ModelComponent)

Copies a ModelComponent object to the specified object.

(Inherited from ModelComponent)
CopyTo(NamedComponent)

Copies a NamedComponent object to the specified object.

(Inherited from NamedComponent)
RemoveFromContainer(IContainer)

Removes the ModelComponent object from the specified container.

(Inherited from ModelComponent)
Reset()

Resets the component to its initial state.

(Inherited from NamedComponent)
Submit()

Submits a ModelComponent object.

(Inherited from ModelComponent)
Submit(Boolean)

Submits a ModelComponent object.

(Inherited from ModelComponent)
ToString()

Returns a string representing the named-component.

(Inherited from NamedComponent)
Validate(ValidationErrorCollection, Boolean, ServerEdition)

Validates the Hierarcy object.

Validate(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)
Validate(ValidationErrorCollection)

Validates the element to which it is appended; returns any errors encountered in a collection.

(Inherited from ModelComponent)

Explicit Interface Implementations

ICloneable.Clone()
IFormattable.ToString(String, IFormatProvider) (Inherited from NamedComponent)
IHostableComponent.Host (Inherited from ModelComponent)
IModelComponent.FriendlyPath (Inherited from ModelComponent)
IModelComponent.OwningCollection (Inherited from ModelComponent)

Applies to