AggregationAttribute Class
Defines a DimensionAttribute as being part of a Aggregation. This class cannot be inherited.
Inheritance Hierarchy
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
Microsoft.AnalysisServices.ModelComponent
Microsoft.AnalysisServices.AggregationAttribute
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
<GuidAttribute("DD4570BB-F7D2-4d1b-8FF7-E37504E8FC27")> _
Public NotInheritable Class AggregationAttribute _
Inherits ModelComponent _
Implements ICloneable
'Usage
Dim instance As AggregationAttribute
[GuidAttribute("DD4570BB-F7D2-4d1b-8FF7-E37504E8FC27")]
public sealed class AggregationAttribute : ModelComponent,
ICloneable
[GuidAttribute(L"DD4570BB-F7D2-4d1b-8FF7-E37504E8FC27")]
public ref class AggregationAttribute sealed : public ModelComponent,
ICloneable
[<SealedAttribute>]
[<GuidAttribute("DD4570BB-F7D2-4d1b-8FF7-E37504E8FC27")>]
type AggregationAttribute =
class
inherit ModelComponent
interface ICloneable
end
public final class AggregationAttribute extends ModelComponent implements ICloneable
The AggregationAttribute type exposes the following members.
Constructors
Name | Description | |
---|---|---|
AggregationAttribute() | Initializes a new instance of the AggregationAttribute class using the default values. | |
AggregationAttribute(String) | Initializes a new instance of AggregationAttribute using the attributeID of a DimensionAttribute. |
Top
Properties
Name | Description | |
---|---|---|
Annotations | Gets a collection within which you can store custom data. (Inherited from ModelComponent.) | |
Attribute | Gets the DimensionAttribute assigned to a Aggregation. | |
AttributeID | Gets or sets the AttributeID of a DimensionAttribute that is associated with a Aggregation. | |
Container | (Inherited from Component.) | |
CubeAttribute | Gets the CubeAttribute that associates the current AggregationAttribute to the parent cube. | |
FriendlyName | Infrastructure. Gets the friendly name of the ModelComponent. (Inherited from ModelComponent.) | |
KeyForCollection | Infrastructure. Gets the key used in the collection. (Inherited from ModelComponent.) | |
OwningCollection | Gets or sets the collection that contains the ModelComponent. (Inherited from ModelComponent.) | |
Parent | Gets the parent AggregationDimension of the current AggregationAttribute. | |
ParentAggregation | Gets the parent Aggregation of the current AggregationAttribute. | |
ParentAggregationDesign | Gets the parent AggregationDesign of the current AggregationAttribute. | |
ParentCube | Gets the parent Cube of the current AggregationAttribute. | |
ParentDatabase | Gets the parent Database of the current AggregationAttribute. | |
ParentMeasureGroup | Gets the parent MeasureGroup of the current AggregationAttribute. | |
ParentServer | Gets the parent Server of the current AggregationAttribute. | |
Site | (Inherited from Component.) |
Top
Methods
Name | Description | |
---|---|---|
AddToContainer | Infrastructure. Adds a ModelComponent object to the specified container. (Inherited from ModelComponent.) | |
AfterInsert | Infrastructure. Displays a ModelComponent object after added to the specified index. (Inherited from ModelComponent.) | |
AfterMove | Infrastructure. Displays a ModelComponent object after moving to the specified index. (Inherited from ModelComponent.) | |
AfterRemove | Infrastructure. Displays a ModelComponentCollection after a ModelComponent object is removed. (Inherited from ModelComponent.) | |
BeforeRemove | Infrastructure. Removes the ModelComponent object before the cleanup. (Inherited from ModelComponent.) | |
Clone | Copies the current AggregationAttribute. | |
CopyTo | Copies the current AggregationAttribute to an object, which is passed as a parameter. | |
CreateObjRef | Security Critical. (Inherited from MarshalByRefObject.) | |
Dispose | (Inherited from Component.) | |
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetLifetimeService | Security Critical. (Inherited from MarshalByRefObject.) | |
GetType | (Inherited from Object.) | |
InitializeLifetimeService | Security Critical. (Inherited from MarshalByRefObject.) | |
RemoveFromContainer | Infrastructure. Removes a ModelComponent object from the specified container. (Inherited from ModelComponent.) | |
Submit() | Infrastructure. Submits a ModelComponent object. (Inherited from ModelComponent.) | |
Submit(Boolean) | Infrastructure. Submits a ModelComponent object. (Inherited from ModelComponent.) | |
ToString | Infrastructure. Returns a string that represents the current object. (Inherited from ModelComponent.) | |
Validate(ValidationErrorCollection) | Validates the element to which it is appended; returns any errors encountered in a collection. (Inherited from 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. (Inherited from 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. (Overrides ModelComponent.Validate(ValidationErrorCollection, Boolean, ServerEdition).) |
Top
Events
Name | Description | |
---|---|---|
Disposed | (Inherited from Component.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
ICloneable.Clone | Creates and returns a new object that is a copy of the current instance of this AggregationAttribute object. | |
IHostableComponent.Host | Gets or sets the IServiceProvider that is the host of the ModelComponent. (Inherited from ModelComponent.) | |
IModelComponent.FriendlyPath | Gets a friendly path for the ModelComponent. (Inherited from ModelComponent.) | |
IModelComponent.OwningCollection | Gets or sets the collection that owns the current object. (Inherited from ModelComponent.) |
Top
Remarks
New: 17 July 2006
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.