Partager via


Level Class

Definition

Defines a level in a Hierarchy element. This class cannot be inherited.

[System.Runtime.InteropServices.Guid("449F0533-E601-4c13-9841-4946FB641699")]
public sealed class Level : Microsoft.AnalysisServices.NamedComponent, ICloneable
[<System.Runtime.InteropServices.Guid("449F0533-E601-4c13-9841-4946FB641699")>]
type Level = class
    inherit NamedComponent
    interface ICloneable
Public NotInheritable Class Level
Inherits NamedComponent
Implements ICloneable
Inheritance
Attributes
Implements

Constructors

Level()

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

Level(String, String)

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

Level(String)

Initializes a new instance of Level 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

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)
FriendlyName

Gets a user-friendly name for the component.

(Inherited from NamedComponent)
HideMemberIf

Gets or sets the indication whether and when a member in a Level should be hidden from client applications.

ID

Gets or sets the identifier of the component.

(Inherited from NamedComponent)
KeyForCollection

Gets the key used in collections.

(Inherited from NamedComponent)
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 Hierarchy object of the Level object.

ParentDatabase

Gets the parent Database object of the Level object.

ParentDimension

Gets the parent Dimension object of the Level object.

ParentServer

Gets the parent Server object of the Level object.

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)
SourceAttribute

Gets or sets the dimension attribute object for a source attribute associated with the Level object.

SourceAttributeID

Gets or sets the source attribute associated with a Level object.

Translations

Gets the collection of translations associated with a Level 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(Level)

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)

Indicates whether the Level object 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()
IFormattable.ToString(String, IFormatProvider) (Inherited from NamedComponent)
IHostableComponent.Host (Inherited from ModelComponent)
IModelComponent.FriendlyPath (Inherited from ModelComponent)
IModelComponent.OwningCollection (Inherited from ModelComponent)

Applies to