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 | |
---|---|---|
CubeAttribute() | Initializes a new instance of the CubeAttribute class using default values. | |
CubeAttribute(String) | Initializes a new instance of CubeAttribute using an identifier. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
AggregationUsage | Gets or sets how Aggregation Designer will design aggregations. | |
Annotations | Gets a collection within which you can store custom data. (Herdado de ModelComponent.) | |
Attribute | Gets a dimension attribute from the CubeAttribute object. | |
AttributeHierarchyEnabled | Gets or sets the attribute hierarchy enabled property associated with a CubeAttribute object. | |
AttributeHierarchyOptimizedState | Gets or sets the optimization state for a CubeAttribute object. | |
AttributeHierarchyVisible | Gets or sets the property controlling visibility of an attribute hierarchy associated with a CubeAttribute object. | |
AttributeID | Gets or sets the attribute identifier for a CubeAttribute object. | |
Container | (Herdado de Component.) | |
FriendlyName | Infraestrutura. Gets the friendly name of the ModelComponent. (Herdado de ModelComponent.) | |
KeyForCollection | Infraestrutura. Gets the key used in the collection. (Herdado de ModelComponent.) | |
OwningCollection | Gets or sets the collection that contains the ModelComponent. (Herdado de ModelComponent.) | |
Parent | Gets the parent of the CubeAttribute object. | |
ParentCube | Gets a parent Cube of the CubeAttribute object. | |
ParentDatabase | Gets a parent Database of the CubeAttribute object. | |
ParentServer | Gets a parent Server of the CubeAttribute object. | |
Site | (Herdado de Component.) |
Início
Métodos
Nome | Descrição | |
---|---|---|
AddToContainer | Infraestrutura. Adds a ModelComponent object to the specified container. (Herdado de ModelComponent.) | |
AfterInsert | Infraestrutura. Displays a ModelComponent object after added to the specified index. (Herdado de ModelComponent.) | |
AfterMove | Infraestrutura. Displays a ModelComponent object after moving to the specified index. (Herdado de ModelComponent.) | |
AfterRemove | Infraestrutura. Displays a ModelComponentCollection after a ModelComponent object is removed. (Herdado de ModelComponent.) | |
BeforeRemove | Infraestrutura. Removes the ModelComponent object before the cleanup. (Herdado de ModelComponent.) | |
Clone | Creates a new, full copy of an object. | |
CopyTo | Copies a CubeAttribute object to the specified object. | |
CreateObjRef | Segurança crítica. (Herdado de MarshalByRefObject.) | |
Dispose | (Herdado de Component.) | |
Equals | (Herdado de Object.) | |
GetHashCode | (Herdado de Object.) | |
GetLifetimeService | Segurança crítica. (Herdado de MarshalByRefObject.) | |
GetType | (Herdado de Object.) | |
InitializeLifetimeService | Segurança crítica. (Herdado de MarshalByRefObject.) | |
RemoveFromContainer | Infraestrutura. Removes a ModelComponent object from the specified container. (Herdado de ModelComponent.) | |
Submit() | Infraestrutura. Submits a ModelComponent object. (Herdado de ModelComponent.) | |
Submit(Boolean) | Infraestrutura. Submits a ModelComponent object. (Herdado de ModelComponent.) | |
ToString | Returns a string that represents the CubeAttribute object. (Substitui ModelComponent.ToString().) | |
Validate(ValidationErrorCollection) | Validates the element to which it is appended; returns any errors encountered in a collection. (Herdado de 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. (Herdado de ModelComponent.) | |
Validate(ValidationErrorCollection, Boolean, ServerEdition) | Determines whether the CubeAttribute is valid. (Substitui ModelComponent.Validate(ValidationErrorCollection, Boolean, ServerEdition).) |
Início
Eventos
Nome | Descrição | |
---|---|---|
Disposed | (Herdado de Component.) |
Início
Implementações de interfaces explícitas
Nome | Descrição | |
---|---|---|
ICloneable.Clone | Creates a new copy of the object instance. | |
IHostableComponent.Host | Gets or sets the IServiceProvider that is the host of the ModelComponent. (Herdado de ModelComponent.) | |
IModelComponent.FriendlyPath | Gets a friendly path for the ModelComponent. (Herdado de ModelComponent.) | |
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.