Condividi tramite


Classe Level

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

Gerarchia di ereditarietà

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      Microsoft.AnalysisServices.ModelComponent
        Microsoft.AnalysisServices.NamedComponent
          Microsoft.AnalysisServices.Level

Spazio dei nomi  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
<GuidAttribute("449F0533-E601-4c13-9841-4946FB641699")> _
Public NotInheritable Class Level _
    Inherits NamedComponent _
    Implements ICloneable
'Utilizzo
Dim instance As Level
[GuidAttribute("449F0533-E601-4c13-9841-4946FB641699")]
public sealed class Level : NamedComponent, 
    ICloneable
[GuidAttribute(L"449F0533-E601-4c13-9841-4946FB641699")]
public ref class Level sealed : public NamedComponent, 
    ICloneable
[<SealedAttribute>]
[<GuidAttribute("449F0533-E601-4c13-9841-4946FB641699")>]
type Level =  
    class 
        inherit NamedComponent 
        interface ICloneable 
    end
public final class Level extends NamedComponent implements ICloneable

Nel tipo Level sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico Level() Initializes a new instance of the Level class using default values.
Metodo pubblico Level(String) Initializes a new instance of Level using a name.
Metodo pubblico Level(String, String) Initializes a new instance of Level using a name and an identifier.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica Annotations Gets a collection within which you can store custom data. Ereditato da ModelComponent.
Proprietà pubblica Container Ereditato da Component.
Proprietà pubblica Description Gets or sets the description of the component. Ereditato da NamedComponent.
Proprietà protetta FriendlyName Returns a user-friendly name. Ereditato da NamedComponent.
Proprietà pubblica HideMemberIf Gets or sets the value of a property which indicates whether and when a member in a Level should be hidden from client applications.
Proprietà pubblica ID Gets or sets the identifier of the component. Ereditato da NamedComponent.
Proprietà protetta KeyForCollection Returns the key used in collections. Ereditato da NamedComponent.
Proprietà pubblica Name Gets or sets the name of the component. Ereditato da NamedComponent.
Proprietà pubblica OwningCollection Gets or sets the collection that contains the ModelComponent. Ereditato da ModelComponent.
Proprietà pubblica Parent Gets the Hierarchy object that is the parent of the Level object.
Proprietà pubblica ParentDatabase Gets the Database object that is the parent of the Level object.
Proprietà pubblica ParentDimension Gets the Dimension object that is the parent of the Level object.
Proprietà pubblica ParentServer Gets the Server object that is the parent of the Level object.
Proprietà pubblica Site Infrastruttura. Gets or sets the site of the component. Ereditato da NamedComponent.
Proprietà pubblica SiteID Infrastruttura. Gets or sets the identifier for the site associated with the component. Ereditato da NamedComponent.
Proprietà pubblica SourceAttribute Gets or sets the dimension attribute for a source attribute associated with a Level object.
Proprietà pubblica SourceAttributeID Gets or sets the source attribute identifier for a source attribute associated with a Level object.
Proprietà pubblica Translations Gets the collection of translations associated with a Level object.

In alto

Metodi

  Nome Descrizione
Metodo protetto AddToContainer Infrastruttura. Adds a ModelComponent object to the specified container. Ereditato da ModelComponent.
Metodo protetto AfterInsert Infrastruttura. Displays a ModelComponent object after added to the specified index. Ereditato da ModelComponent.
Metodo protetto AfterMove Infrastruttura. Displays a ModelComponent object after moving to the specified index. Ereditato da ModelComponent.
Metodo protetto AfterRemove Infrastruttura. Displays a ModelComponentCollection after a ModelComponent object is removed. Ereditato da ModelComponent.
Metodo protetto BeforeRemove Infrastruttura. Removes the ModelComponent object before the cleanup. Ereditato da ModelComponent.
Metodo pubblico Clone Creates a new full copy of an object.
Metodo pubblico CopyTo Copies a Level object to the specified object.
Metodo pubblico CreateObjRef Criticità per la sicurezza. Ereditato da MarshalByRefObject.
Metodo pubblico Dispose Ereditato da Component.
Metodo pubblico Equals Ereditato da Object.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetLifetimeService Criticità per la sicurezza. Ereditato da MarshalByRefObject.
Metodo pubblico GetType Ereditato da Object.
Metodo pubblico InitializeLifetimeService Criticità per la sicurezza. Ereditato da MarshalByRefObject.
Metodo protetto RemoveFromContainer Infrastruttura. Removes a ModelComponent object from the specified container. Ereditato da ModelComponent.
Metodo pubblico Submit() Infrastruttura. Submits a ModelComponent object. Ereditato da ModelComponent.
Metodo pubblico Submit(Boolean) Infrastruttura. Submits a ModelComponent object. Ereditato da ModelComponent.
Metodo pubblico ToString Returns a string containing the name of the component. Ereditato da NamedComponent.
Metodo pubblico Validate(ValidationErrorCollection) Validates the element to which it is appended; returns any errors encountered in a collection. Ereditato da ModelComponent.
Metodo pubblico 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. Ereditato da ModelComponent.
Metodo pubblico Validate(ValidationErrorCollection, Boolean, ServerEdition) Indicates whether the Level object is valid. Esegue l'override di NamedComponent.Validate(ValidationErrorCollection, Boolean, ServerEdition).

In alto

Eventi

  Nome Descrizione
Evento pubblico Disposed Ereditato da Component.

In alto

Implementazioni esplicite dell'interfaccia

  Nome Descrizione
Implementazione esplicita dell'interfacciaMetodo privato ICloneable.Clone Creates a new instance that is a copy of the current object.
Implementazione esplicita dell'interfacciaMetodo privato IFormattable.ToString Formats the value of the current instance using the specified format. Ereditato da NamedComponent.
Implementazione esplicita dell'interfacciaProprietà privata IHostableComponent.Host Gets or sets the IServiceProvider that is the host of the ModelComponent. Ereditato da ModelComponent.
Implementazione esplicita dell'interfacciaProprietà privata IModelComponent.FriendlyPath Gets a friendly path for the ModelComponent. Ereditato da ModelComponent.
Implementazione esplicita dell'interfacciaProprietà privata IModelComponent.OwningCollection Gets or sets the collection that owns the current object. Ereditato da ModelComponent.

In alto

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.

Vedere anche

Riferimento

Spazio dei nomi Microsoft.AnalysisServices