Classe Aggregation
Defines a single aggregation. This class cannot be inherited.
Hierarquia de herança
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
Microsoft.AnalysisServices.ModelComponent
Microsoft.AnalysisServices.NamedComponent
Microsoft.AnalysisServices.Aggregation
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)
Sintaxe
'Declaração
<GuidAttribute("7BA79D5E-87D3-4842-905E-DFBDA0949FBC")> _
Public NotInheritable Class Aggregation _
Inherits NamedComponent _
Implements ICloneable
'Uso
Dim instance As Aggregation
[GuidAttribute("7BA79D5E-87D3-4842-905E-DFBDA0949FBC")]
public sealed class Aggregation : NamedComponent,
ICloneable
[GuidAttribute(L"7BA79D5E-87D3-4842-905E-DFBDA0949FBC")]
public ref class Aggregation sealed : public NamedComponent,
ICloneable
[<SealedAttribute>]
[<GuidAttribute("7BA79D5E-87D3-4842-905E-DFBDA0949FBC")>]
type Aggregation =
class
inherit NamedComponent
interface ICloneable
end
public final class Aggregation extends NamedComponent implements ICloneable
O tipo Aggregation expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
Aggregation() | Initializes a new instance of the Aggregation class using the default values. | |
Aggregation(String, String) | Initializes a new instance of the Aggregation class using a name and an identifier. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
Annotations | Gets a collection within which you can store custom data. (Herdado de ModelComponent.) | |
Container | (Herdado de Component.) | |
Description | Gets or sets the description of the component. (Herdado de NamedComponent.) | |
Dimensions | Gets the collection of dimensions for the Aggregation object. | |
FriendlyName | Returns a user-friendly name. (Herdado de NamedComponent.) | |
ID | Gets or sets the identifier of the component. (Herdado de NamedComponent.) | |
KeyForCollection | Returns the key used in collections. (Herdado de NamedComponent.) | |
Name | Gets or sets the name of the component. (Herdado de NamedComponent.) | |
OwningCollection | Gets or sets the collection that contains the ModelComponent. (Herdado de ModelComponent.) | |
Parent | Gets the parent AggregationDesign object for the current Aggregation object. | |
ParentCube | Gets the parent Cube object for the current Aggregation object. | |
ParentDatabase | Gets the parent Database object for the current Aggregation object. | |
ParentMeasureGroup | Gets the parent MeasureGroup object for the current Aggregation object. | |
ParentServer | Gets the parent Server object for the current Aggregation object. | |
Site | Infraestrutura. Gets or sets the site of the component. (Herdado de NamedComponent.) | |
SiteID | Infraestrutura. Gets or sets the identifier for the site associated with the component. (Herdado de NamedComponent.) |
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 | Creates a full copy of object into the existing object passed as parameter. | |
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 containing the name of the component. (Herdado de NamedComponent.) | |
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) | Validates the element to which it is appended; returns any errors encountered into a collection. Also contains a parameter to enable return of detailed errors. (Substitui NamedComponent.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 and returns a new object that is a copy of the current instance of the Aggregation object. | |
IFormattable.ToString | Formats the value of the current instance using the specified format. (Herdado de NamedComponent.) | |
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
Comentários
Each aggregation consists of a set of dimensions, with a set of attributes for each dimension. For example, if an aggregation lists the Customer dimension, and the City and Gender attributes for that dimension, then there is an aggregation for the City/Gender combination.
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.