Classe Perspective

The Perspective class represents a perspective, which contains elements of a cube. Perspectives control the scope of a cube exposed to users to allow different types of users to see a different view of a cube. This class cannot be inherited.

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
<GuidAttribute("22139520-9191-4a87-81AB-6A1035DB969B")> _
Public NotInheritable Class Perspective _
    Inherits MajorObject _
    Implements IMajorObject, INamedComponent, IModelComponent, IComponent,  _
    IDisposable, ICloneable
'Utilisation
Dim instance As Perspective
[GuidAttribute("22139520-9191-4a87-81AB-6A1035DB969B")]
public sealed class Perspective : MajorObject, 
    IMajorObject, INamedComponent, IModelComponent, IComponent, IDisposable, 
    ICloneable
[GuidAttribute(L"22139520-9191-4a87-81AB-6A1035DB969B")]
public ref class Perspective sealed : public MajorObject, 
    IMajorObject, INamedComponent, IModelComponent, IComponent, IDisposable, 
    ICloneable
[<SealedAttribute>]
[<GuidAttribute("22139520-9191-4a87-81AB-6A1035DB969B")>]
type Perspective =  
    class
        inherit MajorObject
        interface IMajorObject
        interface INamedComponent
        interface IModelComponent
        interface IComponent
        interface IDisposable
        interface ICloneable
    end
public final class Perspective extends MajorObject implements IMajorObject, INamedComponent, IModelComponent, IComponent, IDisposable, ICloneable

Le type Perspective expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique Perspective() () () () Initializes a new instance of Perspective using the default values.
Méthode publique Perspective(String) Initializes a new instance of Perspective using a name.
Méthode publique Perspective(String, String) Initializes a new instance of Perspective using a name and an identifier.

Haut de la page

Propriétés

  Nom Description
Propriété publique Actions Gets the actions for the perspective.
Propriété publique Annotations Gets the collection object of all annotations to current object. (hérité de MajorObject.)
Propriété publique Calculations Gets the calculations for the perspective.
Propriété protégée CanRaiseEvents (hérité de Component.)
Propriété publique Container (hérité de Component.)
Propriété publique CreatedTimestamp Gets or sets the date and time of the creation of the object. (hérité de MajorObject.)
Propriété publique DefaultMeasure Gets or sets the default measure for the perspective.
Propriété publique Description Gets or sets a description string of current object. (hérité de MajorObject.)
Propriété protégée DesignMode (hérité de Component.)
Propriété publique Dimensions Gets the dimensions for the perspective.
Propriété protégée Events (hérité de Component.)
Propriété protégée FriendlyName (hérité de NamedComponent.)
Propriété publique ID (hérité de NamedComponent.)
Propriété publique IsLoaded Infrastructure. (hérité de MajorObject.)
Propriété protégée KeyForCollection (hérité de NamedComponent.)
Propriété publique Kpis Gets the KPIs for the perspective.
Propriété publique LastSchemaUpdate Gets or sets the date and time when current object schema was last updated. (hérité de MajorObject.)
Propriété publique MeasureGroups Gets the measure groups for the perspective.
Propriété publique Name (hérité de NamedComponent.)
Propriété publique OwningCollection Gets or sets the collection that contains the ModelComponent. (hérité de ModelComponent.)
Propriété publique Parent Gets the parent cube for the perspective.
Propriété publique ParentDatabase Gets the database for the perspective.
Propriété publique ParentServer Gets the parent server for the perspective.
Propriété publique Site (hérité de NamedComponent.)
Propriété publique SiteID (hérité de NamedComponent.)
Propriété publique Translations Gets the translations for the perspective.

Haut de la page

Méthodes

  Nom Description
Méthode protégée AddToContainer Infrastructure. (hérité de ModelComponent.)
Méthode protégée AfterInsert Infrastructure. (hérité de ModelComponent.)
Méthode protégée AfterMove Infrastructure. (hérité de ModelComponent.)
Méthode protégée AfterRemove Infrastructure. (hérité de ModelComponent.)
Méthode protégée BeforeRemove Infrastructure. (hérité de ModelComponent.)
Méthode publique Clone() () () () Creates and returns an instance of a Perspective class based on the current perspective.
Méthode protégée Clone(Boolean) Infrastructure. (hérité de MajorObject.)
Méthode protégée CopyTo(ModelComponent) Infrastructure. (hérité de ModelComponent.)
Méthode protégée CopyTo(NamedComponent) (hérité de NamedComponent.)
Méthode publique CopyTo(Perspective) Infrastructure.
Méthode protégée CopyTo(MajorObject, Boolean) Infrastructure. (hérité de MajorObject.)
Méthode publique CreateObjRef (hérité de MarshalByRefObject.)
Méthode publique Dispose() () () () (hérité de Component.)
Méthode protégée Dispose(Boolean) (hérité de Component.)
Méthode publique Drop() () () () Removes current object and updates server. (hérité de MajorObject.)
Méthode publique Drop(DropOptions) Removes current object and updates server using specified options. (hérité de MajorObject.)
Méthode publique Drop(DropOptions, XmlaWarningCollection) Removes current object and updates server using specified options. Warnings resulting from drop operation are returned on the specified warnings object. (hérité de MajorObject.)
Méthode publique Drop(DropOptions, XmlaWarningCollection, ImpactDetailCollection) Removes current object and updates server using specified options. Warnings resulting from drop operation are returned on the specified warnings variable and results for affected objects in operation are returned on specified impactResult variable. (hérité de MajorObject.)
Méthode publique Drop(DropOptions, XmlaWarningCollection, ImpactDetailCollection, Boolean) Removes current object and updates server using specified options. Warnings resulting from drop operation are returned on the specified warnings variable and results for affected objects in operation are returned on specified impactResult variable. (hérité de MajorObject.)
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Component.)
Méthode protégée GetCreateReferences Infrastructure. (hérité de MajorObject.)
Méthode publique GetDependents Infrastructure. (hérité de MajorObject.)
Méthode protégée GetDropDependents Infrastructure. (hérité de MajorObject.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetLifetimeService (hérité de MarshalByRefObject.)
Méthode publique GetReferences Infrastructure. (hérité de MajorObject.)
Méthode protégée GetService (hérité de Component.)
Méthode publique GetType (hérité de Object.)
Méthode publique GetUpdateOverwrites Infrastructure. (hérité de MajorObject.)
Méthode publique InitializeLifetimeService (hérité de MarshalByRefObject.)
Méthode protégée MemberwiseClone() () () () (hérité de Object.)
Méthode protégée MemberwiseClone(Boolean) (hérité de MarshalByRefObject.)
Méthode publique Refresh() () () () Updates current object from server definitions. (hérité de MajorObject.)
Méthode publique Refresh(Boolean) Updates current object from server definitions and loaded dependent objects if specified. (hérité de MajorObject.)
Méthode publique Refresh(Boolean, RefreshType) Updates current object from server definitions and loaded dependent objects if specified. (hérité de MajorObject.)
Méthode protégée RemoveFromContainer Infrastructure. (hérité de ModelComponent.)
Méthode protégée Reset (hérité de NamedComponent.)
Méthode publique Submit() () () () Infrastructure. (hérité de ModelComponent.)
Méthode publique Submit(Boolean) Infrastructure. (hérité de ModelComponent.)
Méthode publique ToString (hérité de NamedComponent.)
Méthode publique Update() () () () Updates server definition of current object to actual values using the default values to update dependent objects. (hérité de MajorObject.)
Méthode publique Update(UpdateOptions) Updates server definition of current object to actual values using the specified options to update dependent objects. (hérité de MajorObject.)
Méthode publique Update(UpdateOptions, UpdateMode) Updates server definition of current object to actual values using the specified options to update dependent objects. (hérité de MajorObject.)
Méthode publique Update(UpdateOptions, UpdateMode, XmlaWarningCollection) Updates server definition of current object to actual values using the specified options to update dependent objects and reports any warnings from operation. (hérité de MajorObject.)
Méthode publique Update(UpdateOptions, UpdateMode, XmlaWarningCollection, ImpactDetailCollection) Updates server definition of current object to actual values using specified options to update dependent objects, reports any warnings from operation, and returns affected objects from operation. (hérité de MajorObject.)
Méthode publique Update(UpdateOptions, UpdateMode, XmlaWarningCollection, ImpactDetailCollection, Boolean) Updates server definition of current object to actual values using specified options to update dependent objects, reports any warnings from operation, and returns affected objects from operation. If analyzeImpactOnly is true, an impact analysis operation is performed with no update operation. (hérité de MajorObject.)
Méthode publique Validate(ValidationErrorCollection) Validates the element to which it is appended; returns any errors encountered in a collection. (hérité de ModelComponent.)
Méthode publique Validate(ValidationResultCollection) (hérité de MajorObject.)
Méthode publique 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. (hérité de ModelComponent.)
Méthode publique Validate(ValidationResultCollection, ValidationOptions) (hérité de MajorObject.)
Méthode publique Validate(ValidationErrorCollection, Boolean, ServerEdition) (remplace NamedComponent. . :: . .Validate(ValidationErrorCollection, Boolean, ServerEdition).)
Méthode publique Validate(ValidationResultCollection, ValidationOptions, ServerEdition) (hérité de MajorObject.)

Haut de la page

Événements

  Nom Description
Événement public Disposed (hérité de Component.)

Haut de la page

Notes

For more information about perspectives, see Perspectives.

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.