Compartilhar via


Classe CubeAttribute

Defines details for an attribute on a cube. Attributes in the dimension not explicitly included in this collection become part of the collection (and are returned by Discover) with all default values. This class cannot be inherited.

Hierarquia de herança

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      Microsoft.AnalysisServices.ModelComponent
        Microsoft.AnalysisServices.CubeAttribute

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)

Sintaxe

'Declaração
<GuidAttribute("B9D7DFD8-43B0-4d72-9D7E-1D1352B99196")> _
Public NotInheritable Class CubeAttribute _
    Inherits ModelComponent _
    Implements ICloneable
'Uso
Dim instance As CubeAttribute
[GuidAttribute("B9D7DFD8-43B0-4d72-9D7E-1D1352B99196")]
public sealed class CubeAttribute : ModelComponent, 
    ICloneable
[GuidAttribute(L"B9D7DFD8-43B0-4d72-9D7E-1D1352B99196")]
public ref class CubeAttribute sealed : public ModelComponent, 
    ICloneable
[<SealedAttribute>]
[<GuidAttribute("B9D7DFD8-43B0-4d72-9D7E-1D1352B99196")>]
type CubeAttribute =  
    class 
        inherit ModelComponent 
        interface ICloneable 
    end
public final class CubeAttribute extends ModelComponent implements ICloneable

O tipo CubeAttribute expõe os membros a seguir.

Construtores

  Nome Descrição
Método público CubeAttribute() Initializes a new instance of the CubeAttribute class using default values.
Método público CubeAttribute(String) Initializes a new instance of CubeAttribute using an identifier.

Início

Propriedades

  Nome Descrição
Propriedade pública AggregationUsage Gets or sets how Aggregation Designer will design aggregations.
Propriedade pública Annotations Gets a collection within which you can store custom data. (Herdado de ModelComponent.)
Propriedade pública Attribute Gets a dimension attribute from the CubeAttribute object.
Propriedade pública AttributeHierarchyEnabled Gets or sets the attribute hierarchy enabled property associated with a CubeAttribute object.
Propriedade pública AttributeHierarchyOptimizedState Gets or sets the optimization state for a CubeAttribute object.
Propriedade pública AttributeHierarchyVisible Gets or sets the property controlling visibility of an attribute hierarchy associated with a CubeAttribute object.
Propriedade pública AttributeID Gets or sets the attribute identifier for a CubeAttribute object.
Propriedade pública Container (Herdado de Component.)
Propriedade protegida FriendlyName Infraestrutura. Gets the friendly name of the ModelComponent. (Herdado de ModelComponent.)
Propriedade protegida KeyForCollection Infraestrutura. Gets the key used in the collection. (Herdado de ModelComponent.)
Propriedade pública OwningCollection Gets or sets the collection that contains the ModelComponent. (Herdado de ModelComponent.)
Propriedade pública Parent Gets the parent of the CubeAttribute object.
Propriedade pública ParentCube Gets a parent Cube of the CubeAttribute object.
Propriedade pública ParentDatabase Gets a parent Database of the CubeAttribute object.
Propriedade pública ParentServer Gets a parent Server of the CubeAttribute object.
Propriedade pública Site (Herdado de Component.)

Início

Métodos

  Nome Descrição
Método protegido AddToContainer Infraestrutura. Adds a ModelComponent object to the specified container. (Herdado de ModelComponent.)
Método protegido AfterInsert Infraestrutura. Displays a ModelComponent object after added to the specified index. (Herdado de ModelComponent.)
Método protegido AfterMove Infraestrutura. Displays a ModelComponent object after moving to the specified index. (Herdado de ModelComponent.)
Método protegido AfterRemove Infraestrutura. Displays a ModelComponentCollection after a ModelComponent object is removed. (Herdado de ModelComponent.)
Método protegido BeforeRemove Infraestrutura. Removes the ModelComponent object before the cleanup. (Herdado de ModelComponent.)
Método público Clone Creates a new, full copy of an object.
Método público CopyTo Copies a CubeAttribute object to the specified object.
Método público CreateObjRef Segurança crítica. (Herdado de MarshalByRefObject.)
Método público Dispose (Herdado de Component.)
Método público Equals (Herdado de Object.)
Método público GetHashCode (Herdado de Object.)
Método público GetLifetimeService Segurança crítica. (Herdado de MarshalByRefObject.)
Método público GetType (Herdado de Object.)
Método público InitializeLifetimeService Segurança crítica. (Herdado de MarshalByRefObject.)
Método protegido RemoveFromContainer Infraestrutura. Removes a ModelComponent object from the specified container. (Herdado de ModelComponent.)
Método público Submit() Infraestrutura. Submits a ModelComponent object. (Herdado de ModelComponent.)
Método público Submit(Boolean) Infraestrutura. Submits a ModelComponent object. (Herdado de ModelComponent.)
Método público ToString Returns a string that represents the CubeAttribute object. (Substitui ModelComponent.ToString().)
Método público Validate(ValidationErrorCollection) Validates the element to which it is appended; returns any errors encountered in a collection. (Herdado de ModelComponent.)
Método público 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. (Herdado de ModelComponent.)
Método público Validate(ValidationErrorCollection, Boolean, ServerEdition) Determines whether the CubeAttribute is valid. (Substitui ModelComponent.Validate(ValidationErrorCollection, Boolean, ServerEdition).)

Início

Eventos

  Nome Descrição
Evento público Disposed (Herdado de Component.)

Início

Implementações de interfaces explícitas

  Nome Descrição
Implementações de interfaces explícitasMétodo privado ICloneable.Clone Creates a new copy of the object instance.
Implementações de interfaces explícitasPropriedade privada IHostableComponent.Host Gets or sets the IServiceProvider that is the host of the ModelComponent. (Herdado de ModelComponent.)
Implementações de interfaces explícitasPropriedade privada IModelComponent.FriendlyPath Gets a friendly path for the ModelComponent. (Herdado de ModelComponent.)
Implementações de interfaces explícitasPropriedade privada IModelComponent.OwningCollection Gets or sets the collection that owns the current object. (Herdado de ModelComponent.)

Início

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.

Consulte também

Referência

Namespace Microsoft.AnalysisServices