共用方式為


CubeHierarchy Class

Definition

Defines details for a hierarchy on a cube. This class cannot be inherited.

[System.Runtime.InteropServices.Guid("91C12D80-3018-4e79-AB9B-3DA2A2EFE79B")]
public sealed class CubeHierarchy : Microsoft.AnalysisServices.ModelComponent, ICloneable
[<System.Runtime.InteropServices.Guid("91C12D80-3018-4e79-AB9B-3DA2A2EFE79B")>]
type CubeHierarchy = class
    inherit ModelComponent
    interface ICloneable
Public NotInheritable Class CubeHierarchy
Inherits ModelComponent
Implements ICloneable
Inheritance
CubeHierarchy
Attributes
Implements

Constructors

CubeHierarchy()

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

CubeHierarchy(String)

Initializes a new instance of CubeHierarchy using the specified hierarchy identifier.

Properties

Annotations

Gets a collection within which you can store custom data.

(Inherited from ModelComponent)
Enabled

Gets or sets the enabled status of a CubeHierarchy object.

FriendlyName

Gets the friendly name of the ModelComponent.

(Inherited from ModelComponent)
Hierarchy

Gets the hierarchy associated with a CubeHierarchy object.

HierarchyID

Gets or sets an identifier for a hierarchy associated with a CubeHierarchy object.

KeyForCollection

Gets the key used in collections.

(Inherited from ModelComponent)
OptimizedState

Gets or sets the optimization state of an associated CubeHierarchy object.

OwningCollection

Gets or sets the collection that contains the ModelComponent.

(Inherited from ModelComponent)
Parent

Gets the parent CubeDimension object of the CubeHierarchy object.

ParentCube

Gets the parent Cube object of the CubeHierarchy object.

ParentDatabase

Gets the parent Database object of the CubeHierarchy object.

ParentServer

Gets the parent Server object of the CubeHierarchy object.

Visible

Gets or sets the visibility property for the CubeHierarchy object.

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(CubeHierarchy)

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

CopyTo(ModelComponent)

Copies a ModelComponent object to the specified object.

(Inherited from ModelComponent)
RemoveFromContainer(IContainer)

Removes the ModelComponent object from the specified container.

(Inherited from ModelComponent)
Reset()

Resets the component to an initial state.

(Inherited from ModelComponent)
Submit()

Submits a ModelComponent object.

(Inherited from ModelComponent)
Submit(Boolean)

Submits a ModelComponent object.

(Inherited from ModelComponent)
ToString()

Returns a string that represents the current object.

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

Determines whether the CubeHierarchy is valid.

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()
IHostableComponent.Host (Inherited from ModelComponent)
IModelComponent.FriendlyPath (Inherited from ModelComponent)
IModelComponent.OwningCollection (Inherited from ModelComponent)

Applies to