Класс AggregationAttribute
Defines a DimensionAttribute as being part of a Aggregation. This class cannot be inherited.
Иерархия наследования
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
Microsoft.AnalysisServices.ModelComponent
Microsoft.AnalysisServices.AggregationAttribute
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)
Синтаксис
'Декларация
<GuidAttribute("DD4570BB-F7D2-4d1b-8FF7-E37504E8FC27")> _
Public NotInheritable Class AggregationAttribute _
Inherits ModelComponent _
Implements ICloneable
'Применение
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
Тип AggregationAttribute обеспечивает доступ к следующим элементам.
Конструкторы
Имя | Описание | |
---|---|---|
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. |
В начало
Свойства
Имя | Описание | |
---|---|---|
Annotations | Gets a collection within which you can store custom data. (Производный от 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 | (Производный от Component.) | |
CubeAttribute | Gets the CubeAttribute that associates the current AggregationAttribute to the parent cube. | |
FriendlyName | Инфраструктура. Gets the friendly name of the ModelComponent. (Производный от ModelComponent.) | |
KeyForCollection | Инфраструктура. Gets the key used in the collection. (Производный от ModelComponent.) | |
OwningCollection | Gets or sets the collection that contains the ModelComponent. (Производный от 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 | (Производный от Component.) |
В начало
Методы
Имя | Описание | |
---|---|---|
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 | Copies the current AggregationAttribute. | |
CopyTo | Copies the current AggregationAttribute to an object, which is passed as a 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 that represents the current object. (Производный от ModelComponent.) | |
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. (Переопределяет ModelComponent.Validate(ValidationErrorCollection, Boolean, ServerEdition).) |
В начало
События
Имя | Описание | |
---|---|---|
Disposed | (Производный от Component.) |
В начало
Явные реализации интерфейса
Имя | Описание | |
---|---|---|
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. (Производный от ModelComponent.) | |
IModelComponent.FriendlyPath | Gets a friendly path for the ModelComponent. (Производный от ModelComponent.) | |
IModelComponent.OwningCollection | Gets or sets the collection that owns the current object. (Производный от ModelComponent.) |
В начало
Замечания
Добавления: 17 июля 2006 г.
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.