Hierarchy Class
Represents a hierarchy in a dimension. This class cannot be inherited.
Inheritance Hierarchy
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
Microsoft.AnalysisServices.ModelComponent
Microsoft.AnalysisServices.NamedComponent
Microsoft.AnalysisServices.Hierarchy
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
<GuidAttribute("DDF80B10-1300-436a-ACC8-E8EFF1AB8CB1")> _
Public NotInheritable Class Hierarchy _
Inherits NamedComponent _
Implements ICloneable
'Usage
Dim instance As Hierarchy
[GuidAttribute("DDF80B10-1300-436a-ACC8-E8EFF1AB8CB1")]
public sealed class Hierarchy : NamedComponent,
ICloneable
[GuidAttribute(L"DDF80B10-1300-436a-ACC8-E8EFF1AB8CB1")]
public ref class Hierarchy sealed : public NamedComponent,
ICloneable
[<SealedAttribute>]
[<GuidAttribute("DDF80B10-1300-436a-ACC8-E8EFF1AB8CB1")>]
type Hierarchy =
class
inherit NamedComponent
interface ICloneable
end
public final class Hierarchy extends NamedComponent implements ICloneable
The Hierarchy type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Hierarchy() | Initializes a new instance of the Hierarchy class using default values. | |
Hierarchy(String) | Initializes a new instance of Hierarchy using a name. | |
Hierarchy(String, String) | Initializes a new instance of Hierarchy, using a name and an identifier. |
Top
Properties
Name | Description | |
---|---|---|
AllMemberName | Gets or sets the all member name property of the Hierarchy object. | |
AllMemberTranslations | Gets the all member translations property of the Hierarchy object. | |
AllowDuplicateNames | Gets or sets the Boolean value to allow duplicate names for a Hierarchy object. | |
Annotations | Gets a collection within which you can store custom data. (Inherited from ModelComponent.) | |
Container | (Inherited from Component.) | |
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 | Returns a user-friendly name. (Inherited from NamedComponent.) | |
ID | Gets or sets the identifier of the component. (Inherited from NamedComponent.) | |
KeyForCollection | Returns the key used in collections. (Inherited from NamedComponent.) | |
Levels | Gets the levels associated with the Hierarchy object. | |
MemberKeysUnique | Gets or sets whether the member keys are required to be unique. | |
MemberNamesUnique | Gets or sets the property member names 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 of the Hierarchy object. | |
ParentDatabase | Gets the parent Database of the Hierarchy object. | |
ParentServer | Gets the parent Server of the Hierarchy object. | |
ProcessingState | Gets or sets the processing state of the hierarchy. | |
Site | Infrastructure. Gets or sets the site of the component. (Inherited from NamedComponent.) | |
SiteID | Infrastructure. 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 visualization properties of the hierarchy. |
Top
Methods
Name | Description | |
---|---|---|
AddToContainer | Infrastructure. Adds a ModelComponent object to the specified container. (Inherited from ModelComponent.) | |
AfterInsert | Infrastructure. Displays a ModelComponent object after added to the specified index. (Inherited from ModelComponent.) | |
AfterMove | Infrastructure. Displays a ModelComponent object after moving to the specified index. (Inherited from ModelComponent.) | |
AfterRemove | Infrastructure. Displays a ModelComponentCollection after a ModelComponent object is removed. (Inherited from ModelComponent.) | |
BeforeRemove | Infrastructure. Removes the ModelComponent object before the cleanup. (Inherited from ModelComponent.) | |
Clone | Creates a new, full copy of an object. | |
CopyTo | Copies a Hierarchy object to the specified object. | |
CreateObjRef | Security Critical. (Inherited from MarshalByRefObject.) | |
Dispose | (Inherited from Component.) | |
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetLifetimeService | Security Critical. (Inherited from MarshalByRefObject.) | |
GetType | (Inherited from Object.) | |
InitializeLifetimeService | Security Critical. (Inherited from MarshalByRefObject.) | |
RemoveFromContainer | Infrastructure. Removes a ModelComponent object from the specified container. (Inherited from ModelComponent.) | |
Submit() | Infrastructure. Submits a ModelComponent object. (Inherited from ModelComponent.) | |
Submit(Boolean) | Infrastructure. Submits a ModelComponent object. (Inherited from ModelComponent.) | |
ToString | Returns a string containing the name of the component. (Inherited from NamedComponent.) | |
Validate(ValidationErrorCollection) | Validates the element to which it is appended; returns any errors encountered in a collection. (Inherited from ModelComponent.) | |
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, Boolean, ServerEdition) | Validates the element to which it is appended. (Overrides NamedComponent.Validate(ValidationErrorCollection, Boolean, ServerEdition).) |
Top
Events
Name | Description | |
---|---|---|
Disposed | (Inherited from Component.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
ICloneable.Clone | Creates a new, full copy of an object. | |
IFormattable.ToString | Formats the value of the current instance using the specified format. (Inherited from NamedComponent.) | |
IHostableComponent.Host | Gets or sets the IServiceProvider that is the host of the ModelComponent. (Inherited from ModelComponent.) | |
IModelComponent.FriendlyPath | Gets a friendly path for the ModelComponent. (Inherited from ModelComponent.) | |
IModelComponent.OwningCollection | Gets or sets the collection that owns the current object. (Inherited from ModelComponent.) |
Top
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.