Класс Aggregation
Defines a single aggregation. This class cannot be inherited.
Иерархия наследования
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
Microsoft.AnalysisServices.ModelComponent
Microsoft.AnalysisServices.NamedComponent
Microsoft.AnalysisServices.Aggregation
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)
Синтаксис
'Декларация
<GuidAttribute("7BA79D5E-87D3-4842-905E-DFBDA0949FBC")> _
Public NotInheritable Class Aggregation _
Inherits NamedComponent _
Implements ICloneable
'Применение
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
Тип Aggregation обеспечивает доступ к следующим элементам.
Конструкторы
Имя | Описание | |
---|---|---|
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. |
В начало
Свойства
Имя | Описание | |
---|---|---|
Annotations | Gets a collection within which you can store custom data. (Производный от ModelComponent.) | |
Container | (Производный от Component.) | |
Description | Gets or sets the description of the component. (Производный от NamedComponent.) | |
Dimensions | Gets the collection of dimensions for the Aggregation object. | |
FriendlyName | Returns a user-friendly name. (Производный от NamedComponent.) | |
ID | Gets or sets the identifier of the component. (Производный от NamedComponent.) | |
KeyForCollection | Returns the key used in collections. (Производный от NamedComponent.) | |
Name | Gets or sets the name of the component. (Производный от NamedComponent.) | |
OwningCollection | Gets or sets the collection that contains the ModelComponent. (Производный от 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 | Инфраструктура. Gets or sets the site of the component. (Производный от NamedComponent.) | |
SiteID | Инфраструктура. Gets or sets the identifier for the site associated with the component. (Производный от NamedComponent.) |
В начало
Методы
Имя | Описание | |
---|---|---|
AddToContainer | Инфраструктура. Adds a ModelComponent object to the specified container. (Производный от ModelComponent.) | |
AfterInsert | Инфраструктура. Displays a ModelComponent object after added to the specified index. (Производный от ModelComponent.) | |
AfterMove | Инфраструктура. Displays a ModelComponent object after moving to the specified index. (Производный от ModelComponent.) | |
AfterRemove | Инфраструктура. Displays a ModelComponentCollection after a ModelComponent object is removed. (Производный от ModelComponent.) | |
BeforeRemove | Инфраструктура. Removes the ModelComponent object before the cleanup. (Производный от 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 | Важный элемент безопасности. (Производный от MarshalByRefObject.) | |
Dispose | (Производный от Component.) | |
Equals | (Производный от Object.) | |
GetHashCode | (Производный от Object.) | |
GetLifetimeService | Важный элемент безопасности. (Производный от MarshalByRefObject.) | |
GetType | (Производный от Object.) | |
InitializeLifetimeService | Важный элемент безопасности. (Производный от MarshalByRefObject.) | |
RemoveFromContainer | Инфраструктура. Removes a ModelComponent object from the specified container. (Производный от ModelComponent.) | |
Submit() | Инфраструктура. Submits a ModelComponent object. (Производный от ModelComponent.) | |
Submit(Boolean) | Инфраструктура. Submits a ModelComponent object. (Производный от ModelComponent.) | |
ToString | Returns a string containing the name of the component. (Производный от NamedComponent.) | |
Validate(ValidationErrorCollection) | Validates the element to which it is appended; returns any errors encountered in a collection. (Производный от 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. (Производный от 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. (Переопределяет NamedComponent.Validate(ValidationErrorCollection, Boolean, ServerEdition).) |
В начало
События
Имя | Описание | |
---|---|---|
Disposed | (Производный от Component.) |
В начало
Явные реализации интерфейса
Имя | Описание | |
---|---|---|
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. (Производный от NamedComponent.) | |
IHostableComponent.Host | Gets or sets the IServiceProvider that is the host of the ModelComponent. (Производный от ModelComponent.) | |
IModelComponent.FriendlyPath | Gets a friendly path for the ModelComponent. (Производный от ModelComponent.) | |
IModelComponent.OwningCollection | Gets or sets the collection that owns the current object. (Производный от ModelComponent.) |
В начало
Замечания
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.
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.