Поделиться через


Класс MeasureGroupAttribute

Represents the relationship between an attribute and a measure group.

Иерархия наследования

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      Microsoft.AnalysisServices.ModelComponent
        Microsoft.AnalysisServices.MeasureGroupAttribute

Пространство имен:  Microsoft.AnalysisServices
Сборка:  Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)

Синтаксис

'Декларация
<GuidAttribute("7B6B477F-41B9-4310-84E0-E0C4F57A55D9")> _
Public NotInheritable Class MeasureGroupAttribute _
    Inherits ModelComponent _
    Implements ICloneable
'Применение
Dim instance As MeasureGroupAttribute
[GuidAttribute("7B6B477F-41B9-4310-84E0-E0C4F57A55D9")]
public sealed class MeasureGroupAttribute : ModelComponent, 
    ICloneable
[GuidAttribute(L"7B6B477F-41B9-4310-84E0-E0C4F57A55D9")]
public ref class MeasureGroupAttribute sealed : public ModelComponent, 
    ICloneable
[<SealedAttribute>]
[<GuidAttribute("7B6B477F-41B9-4310-84E0-E0C4F57A55D9")>]
type MeasureGroupAttribute =  
    class 
        inherit ModelComponent 
        interface ICloneable 
    end
public final class MeasureGroupAttribute extends ModelComponent implements ICloneable

Тип MeasureGroupAttribute обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод MeasureGroupAttribute() Initializes a new instance of the MeasureGroupAttribute class using default values.
Открытый метод MeasureGroupAttribute(String) Initializes a new instance of MeasureGroupAttribute using a name and an identifier.

В начало

Свойства

  Имя Описание
Открытое свойство Annotations Gets a collection within which you can store custom data. (Производный от ModelComponent.)
Открытое свойство Attribute Gets the description of an Attribute.
Открытое свойство AttributeID Gets or sets the identifier of the attribute associated with the parent element.
Открытое свойство Container (Производный от Component.)
Открытое свойство CubeAttribute Represents an attribute associated with a cube element.
Защищенное свойство FriendlyName Инфраструктура. Gets the friendly name of the ModelComponent. (Производный от ModelComponent.)
Открытое свойство KeyColumns Gets the binding to both table and column(s) for MeasureGroupAttribute.
Защищенное свойство KeyForCollection Инфраструктура. Gets the key used in the collection. (Производный от ModelComponent.)
Открытое свойство OwningCollection Gets or sets the collection that contains the ModelComponent. (Производный от ModelComponent.)
Открытое свойство Parent Gets the measure group object that is the parent of the MeasureGroupAttribute object.
Открытое свойство ParentCube Gets the Cube object that is the parent of the MeasureGroupAttribute object.
Открытое свойство ParentDatabase Gets the Database object that is the parent of the MeasureGroupAttribute object’s Cube object.
Открытое свойство ParentMeasureGroup Gets the MeasureGroup object that is the parent of the MeasureGroupAttribute object.
Открытое свойство ParentServer Gets the Server object that is the parent of the MeasureGroupAttribute object.
Открытое свойство Site (Производный от Component.)
Открытое свойство Type Gets the specified type of attribute.

В начало

Методы

  Имя Описание
Защищенный метод 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 Returns a clone of the object.
Открытый метод CopyTo Copies the content of the object to another object (the destination).
Открытый метод 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 whether the element is appended and returns any errors encountered into a collection. (Переопределяет 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 MeasureGroupAttribute 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.)

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.AnalysisServices