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


Класс PerspectiveCalculation

Represents the relationship between a calculation and a Perspective element. This class cannot be inherited.

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

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

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

Синтаксис

'Декларация
<GuidAttribute("72E82EA3-C8F6-4b75-A3A1-44D4BF91FB06")> _
Public NotInheritable Class PerspectiveCalculation _
    Inherits ModelComponent _
    Implements ICloneable
'Применение
Dim instance As PerspectiveCalculation
[GuidAttribute("72E82EA3-C8F6-4b75-A3A1-44D4BF91FB06")]
public sealed class PerspectiveCalculation : ModelComponent, 
    ICloneable
[GuidAttribute(L"72E82EA3-C8F6-4b75-A3A1-44D4BF91FB06")]
public ref class PerspectiveCalculation sealed : public ModelComponent, 
    ICloneable
[<SealedAttribute>]
[<GuidAttribute("72E82EA3-C8F6-4b75-A3A1-44D4BF91FB06")>]
type PerspectiveCalculation =  
    class 
        inherit ModelComponent 
        interface ICloneable 
    end
public final class PerspectiveCalculation extends ModelComponent implements ICloneable

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

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

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

В начало

Свойства

  Имя Описание
Открытое свойство Annotations Gets a collection within which you can store custom data. (Производный от ModelComponent.)
Открытое свойство Container (Производный от Component.)
Защищенное свойство FriendlyName Инфраструктура. Gets the friendly name of the ModelComponent. (Производный от ModelComponent.)
Защищенное свойство KeyForCollection Инфраструктура. Gets the key used in the collection. (Производный от ModelComponent.)
Открытое свойство Name Gets or sets the name of the PerspectiveCalculation object.
Открытое свойство OwningCollection Gets or sets the collection that contains the ModelComponent. (Производный от ModelComponent.)
Открытое свойство Parent Gets the parent Perspective of a PerspectiveCalculation object.
Открытое свойство ParentCube Gets the parent Cube of a PerspectiveCalculation object.
Открытое свойство ParentDatabase Gets the parent Database of a PerspectiveCalculation object.
Открытое свойство ParentServer Gets the parent Server of a PerspectiveCalculation object.
Открытое свойство Site (Производный от Component.)
Открытое свойство Type Gets or sets the type of PerspectiveCalculation.

В начало

Методы

  Имя Описание
Защищенный метод 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 Copies a PerspectiveCalculation object to the specified object.
Открытый метод 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) Indicates whether a ModelComponent object is valid. (Производный от ModelComponent.)

В начало

События

  Имя Описание
Открытое событие Disposed (Производный от Component.)

В начало

Явные реализации интерфейса

  Имя Описание
Явная реализация интерфейсаЗакрытый метод ICloneable.Clone Creates and returns a new object that is a copy of the current instance of this PerspectiveCalculation 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