Aggregation Aggregation Aggregation Class

Definition

Defines a single aggregation. This class cannot be inherited.

public ref class Aggregation sealed : Microsoft::AnalysisServices::NamedComponent, ICloneable
[System.ComponentModel.Designer("Microsoft.DataWarehouse.Design.EmptyComponentDesigner, Microsoft.DataWarehouse, PublicKeyToken=89845dcd8080cc91", typeof(System.ComponentModel.Design.IDesigner))]
[System.Runtime.InteropServices.Guid("7BA79D5E-87D3-4842-905E-DFBDA0949FBC")]
public sealed class Aggregation : Microsoft.AnalysisServices.NamedComponent, ICloneable
Public NotInheritable Class Aggregation
Inherits NamedComponent
Implements ICloneable
Inheritance
Attributes
Implements

Remarks

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.

Constructors

Aggregation() Aggregation() Aggregation()

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

Aggregation(String, String) Aggregation(String, String) Aggregation(String, String)

Initializes a new instance of the Aggregation class using a name and an identifier.

Properties

Annotations Annotations Annotations

Gets a collection within which you can store custom data.

(Inherited from ModelComponent)
Description Description Description

Gets or sets the description of the component.

(Inherited from NamedComponent)
Dimensions Dimensions Dimensions

Gets the collection of dimensions for the Aggregation object.

FriendlyName FriendlyName FriendlyName

Returns a user-friendly name.

(Inherited from NamedComponent)
ID ID ID

Gets or sets the identifier of the component.

(Inherited from NamedComponent)
IHostableComponent.Host IHostableComponent.Host IHostableComponent.Host

Gets or sets the IServiceProvider that is the host of the ModelComponent.

(Inherited from ModelComponent)
IModelComponent.FriendlyPath IModelComponent.FriendlyPath IModelComponent.FriendlyPath

Gets a friendly path for the ModelComponent.

(Inherited from ModelComponent)
IModelComponent.OwningCollection IModelComponent.OwningCollection IModelComponent.OwningCollection

Gets or sets the collection that owns the current object.

(Inherited from ModelComponent)
KeyForCollection KeyForCollection KeyForCollection

Returns the key used in collections.

(Inherited from NamedComponent)
Name Name Name

Gets or sets the name of the component.

(Inherited from NamedComponent)
OwningCollection OwningCollection OwningCollection

Gets or sets the collection that contains the ModelComponent.

(Inherited from ModelComponent)
Parent Parent Parent

Gets the parent AggregationDesign object for the current Aggregation object.

ParentCube ParentCube ParentCube

Gets the parent Cube object for the current Aggregation object.

ParentDatabase ParentDatabase ParentDatabase

Gets the parent Database object for the current Aggregation object.

ParentMeasureGroup ParentMeasureGroup ParentMeasureGroup

Gets the parent MeasureGroup object for the current Aggregation object.

ParentServer ParentServer ParentServer

Gets the parent Server object for the current Aggregation object.

Site Site Site

Gets or sets the site of the component.

(Inherited from NamedComponent)
SiteID SiteID SiteID

Gets or sets the identifier for the site associated with the component.

(Inherited from NamedComponent)

Methods

AddToContainer(IContainer) AddToContainer(IContainer) AddToContainer(IContainer)

Adds a ModelComponent object to the specified container.

(Inherited from ModelComponent)
AfterInsert(Int32) AfterInsert(Int32) AfterInsert(Int32)

Displays a ModelComponent object after added to the specified index.

(Inherited from ModelComponent)
AfterMove(Int32, Int32) AfterMove(Int32, Int32) AfterMove(Int32, Int32)

Displays a ModelComponent object after moving to the specified index.

(Inherited from ModelComponent)
AfterRemove(ModelComponentCollection) AfterRemove(ModelComponentCollection) AfterRemove(ModelComponentCollection)

Displays a ModelComponentCollection after a ModelComponent object is removed.

(Inherited from ModelComponent)
BeforeRemove(Boolean) BeforeRemove(Boolean) BeforeRemove(Boolean)

Removes the ModelComponent object before the cleanup.

(Inherited from ModelComponent)
Clone() Clone() Clone()

Creates a new full copy of an object.

CopyTo(Aggregation) CopyTo(Aggregation) CopyTo(Aggregation)

Creates a full copy of object into the existing object passed as parameter.

CopyTo(ModelComponent) CopyTo(ModelComponent) CopyTo(ModelComponent)

Copies a ModelComponent object to the specified object.

(Inherited from ModelComponent)
CopyTo(NamedComponent) CopyTo(NamedComponent) CopyTo(NamedComponent)

Copies a NamedComponent object to the specified object.

(Inherited from NamedComponent)
RemoveFromContainer(IContainer) RemoveFromContainer(IContainer) RemoveFromContainer(IContainer)

Removes a ModelComponent object from the specified container.

(Inherited from ModelComponent)
Reset() Reset() Reset()

Resets the component to its initial state.

(Inherited from NamedComponent)
Submit() Submit() Submit()

Submits a ModelComponent object.

(Inherited from ModelComponent)
Submit(Boolean) Submit(Boolean) Submit(Boolean)

Submits a ModelComponent object.

(Inherited from ModelComponent)
ToString() ToString() ToString()

Returns a string containing the name of the component.

(Inherited from NamedComponent)
Validate(ValidationErrorCollection) Validate(ValidationErrorCollection) Validate(ValidationErrorCollection)

Validates the element to which it is appended; returns any errors encountered in a collection.

(Inherited from ModelComponent)
Validate(ValidationErrorCollection, Boolean) Validate(ValidationErrorCollection, Boolean) 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, Boolean, ServerEdition) Validate(ValidationErrorCollection, Boolean, ServerEdition) 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.

Explicit Interface Implementations

ICloneable.Clone() ICloneable.Clone() ICloneable.Clone()

Creates and returns a new object that is a copy of the current instance of the Aggregation object.

IFormattable.ToString(String, IFormatProvider) IFormattable.ToString(String, IFormatProvider) IFormattable.ToString(String, IFormatProvider)

Formats the value of the current instance using the specified format.

(Inherited from NamedComponent)

Fields

MaxIDLength MaxIDLength MaxIDLength

Specifies the maximum length of the identifier.

(Inherited from NamedComponent)
MaxNameLength MaxNameLength MaxNameLength

Specifies the maximum length of the name.

(Inherited from NamedComponent)

Applies to