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.
Hierarquia de herança
System. . :: . .Object
System. . :: . .MarshalByRefObject
System.ComponentModel. . :: . .Component
Microsoft.AnalysisServices. . :: . .ModelComponent
Microsoft.AnalysisServices. . :: . .NamedComponent
Microsoft.AnalysisServices. . :: . .MajorObject
Microsoft.AnalysisServices..::..Perspective
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)
Sintaxe
'Declaração
<GuidAttribute("22139520-9191-4a87-81AB-6A1035DB969B")> _
Public NotInheritable Class Perspective _
Inherits MajorObject _
Implements IMajorObject, INamedComponent, IModelComponent, IComponent, _
IDisposable, ICloneable
'Uso
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
O tipo Perspective expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
Perspective() () () () | Initializes a new instance of Perspective using the default values. | |
Perspective(String) | Initializes a new instance of Perspective using a name. | |
Perspective(String, String) | Initializes a new instance of Perspective using a name and an identifier. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
Actions | Gets the actions for the perspective. | |
Annotations | Gets the collection object of all annotations to current object. (Herdado de MajorObject.) | |
Calculations | Gets the calculations for the perspective. | |
CanRaiseEvents | (Herdado de Component.) | |
Container | (Herdado de Component.) | |
CreatedTimestamp | Gets or sets the date and time of the creation of the object. (Herdado de MajorObject.) | |
DefaultMeasure | Gets or sets the default measure for the perspective. | |
Description | Gets or sets a description string of current object. (Herdado de MajorObject.) | |
DesignMode | (Herdado de Component.) | |
Dimensions | Gets the dimensions for the perspective. | |
Events | (Herdado de Component.) | |
FriendlyName | (Herdado de NamedComponent.) | |
ID | (Herdado de NamedComponent.) | |
IsLoaded | Infraestrutura. (Herdado de MajorObject.) | |
KeyForCollection | (Herdado de NamedComponent.) | |
Kpis | Gets the KPIs for the perspective. | |
LastSchemaUpdate | Gets or sets the date and time when current object schema was last updated. (Herdado de MajorObject.) | |
MeasureGroups | Gets the measure groups for the perspective. | |
Name | (Herdado de NamedComponent.) | |
OwningCollection | Gets or sets the collection that contains the ModelComponent. (Herdado de ModelComponent.) | |
Parent | Gets the parent cube for the perspective. | |
ParentDatabase | Gets the database for the perspective. | |
ParentServer | Gets the parent server for the perspective. | |
Site | (Herdado de NamedComponent.) | |
SiteID | (Herdado de NamedComponent.) | |
Translations | Gets the translations for the perspective. |
Início
Métodos
Nome | Descrição | |
---|---|---|
AddToContainer | Infraestrutura. (Herdado de ModelComponent.) | |
AfterInsert | Infraestrutura. (Herdado de ModelComponent.) | |
AfterMove | Infraestrutura. (Herdado de ModelComponent.) | |
AfterRemove | Infraestrutura. (Herdado de ModelComponent.) | |
BeforeRemove | Infraestrutura. (Herdado de ModelComponent.) | |
Clone() () () () | Creates and returns an instance of a Perspective class based on the current perspective. | |
Clone(Boolean) | Infraestrutura. (Herdado de MajorObject.) | |
CopyTo(ModelComponent) | Infraestrutura. (Herdado de ModelComponent.) | |
CopyTo(NamedComponent) | (Herdado de NamedComponent.) | |
CopyTo(Perspective) | Infraestrutura. | |
CopyTo(MajorObject, Boolean) | Infraestrutura. (Herdado de MajorObject.) | |
CreateObjRef | (Herdado de MarshalByRefObject.) | |
Dispose() () () () | (Herdado de Component.) | |
Dispose(Boolean) | (Herdado de Component.) | |
Drop() () () () | Removes current object and updates server. (Herdado de MajorObject.) | |
Drop(DropOptions) | Removes current object and updates server using specified options. (Herdado de MajorObject.) | |
Drop(DropOptions, XmlaWarningCollection) | Removes current object and updates server using specified options. Warnings resulting from drop operation are returned on the specified warnings object. (Herdado de MajorObject.) | |
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. (Herdado de MajorObject.) | |
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. (Herdado de MajorObject.) | |
Equals | (Herdado de Object.) | |
Finalize | (Herdado de Component.) | |
GetCreateReferences | Infraestrutura. (Herdado de MajorObject.) | |
GetDependents | Infraestrutura. (Herdado de MajorObject.) | |
GetDropDependents | Infraestrutura. (Herdado de MajorObject.) | |
GetHashCode | (Herdado de Object.) | |
GetLifetimeService | (Herdado de MarshalByRefObject.) | |
GetReferences | Infraestrutura. (Herdado de MajorObject.) | |
GetService | (Herdado de Component.) | |
GetType | (Herdado de Object.) | |
GetUpdateOverwrites | Infraestrutura. (Herdado de MajorObject.) | |
InitializeLifetimeService | (Herdado de MarshalByRefObject.) | |
MemberwiseClone() () () () | (Herdado de Object.) | |
MemberwiseClone(Boolean) | (Herdado de MarshalByRefObject.) | |
Refresh() () () () | Updates current object from server definitions. (Herdado de MajorObject.) | |
Refresh(Boolean) | Updates current object from server definitions and loaded dependent objects if specified. (Herdado de MajorObject.) | |
Refresh(Boolean, RefreshType) | Updates current object from server definitions and loaded dependent objects if specified. (Herdado de MajorObject.) | |
RemoveFromContainer | Infraestrutura. (Herdado de ModelComponent.) | |
Reset | (Herdado de NamedComponent.) | |
Submit() () () () | Infraestrutura. (Herdado de ModelComponent.) | |
Submit(Boolean) | Infraestrutura. (Herdado de ModelComponent.) | |
ToString | (Herdado de NamedComponent.) | |
Update() () () () | Updates server definition of current object to actual values using the default values to update dependent objects. (Herdado de MajorObject.) | |
Update(UpdateOptions) | Updates server definition of current object to actual values using the specified options to update dependent objects. (Herdado de MajorObject.) | |
Update(UpdateOptions, UpdateMode) | Updates server definition of current object to actual values using the specified options to update dependent objects. (Herdado de MajorObject.) | |
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. (Herdado de MajorObject.) | |
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. (Herdado de MajorObject.) | |
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. (Herdado de MajorObject.) | |
Validate(ValidationErrorCollection) | Validates the element to which it is appended; returns any errors encountered in a collection. (Herdado de ModelComponent.) | |
Validate(ValidationResultCollection) | (Herdado de MajorObject.) | |
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. (Herdado de ModelComponent.) | |
Validate(ValidationResultCollection, ValidationOptions) | (Herdado de MajorObject.) | |
Validate(ValidationErrorCollection, Boolean, ServerEdition) | (Substitui NamedComponent. . :: . .Validate(ValidationErrorCollection, Boolean, ServerEdition).) | |
Validate(ValidationResultCollection, ValidationOptions, ServerEdition) | (Herdado de MajorObject.) |
Início
Implementações de interfaces explícitas
Início
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.