Classe Kpi
Represents a Key Performance Indicator (KPI). This class cannot be inherited.
Hierarquia de herança
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
Microsoft.AnalysisServices.ModelComponent
Microsoft.AnalysisServices.NamedComponent
Microsoft.AnalysisServices.Kpi
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)
Sintaxe
'Declaração
<GuidAttribute("8627F50A-070E-4501-86E0-1BB6CA124473")> _
Public NotInheritable Class Kpi _
Inherits NamedComponent _
Implements ICloneable
'Uso
Dim instance As Kpi
[GuidAttribute("8627F50A-070E-4501-86E0-1BB6CA124473")]
public sealed class Kpi : NamedComponent, ICloneable
[GuidAttribute(L"8627F50A-070E-4501-86E0-1BB6CA124473")]
public ref class Kpi sealed : public NamedComponent,
ICloneable
[<SealedAttribute>]
[<GuidAttribute("8627F50A-070E-4501-86E0-1BB6CA124473")>]
type Kpi =
class
inherit NamedComponent
interface ICloneable
end
public final class Kpi extends NamedComponent implements ICloneable
O tipo Kpi expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
Kpi() | Initializes a new instance of Kpi using the default values. | |
Kpi(String, String) | Initializes a new instance of Kpi using a name and an identifier. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
Annotations | Gets a collection within which you can store custom data. (Herdado de ModelComponent.) | |
AssociatedMeasureGroup | Gets the measure group that is associated with the calculations in a Kpi. | |
AssociatedMeasureGroupID | Gets or sets the identifier of the measure group that is associated with the calculations in a Kpi. | |
Container | (Herdado de Component.) | |
CurrentTimeMember | Gets or sets an MDX expression that returns the member that identifies the temporal context of the KPI. | |
Description | Gets or sets the description of the component. (Herdado de NamedComponent.) | |
DisplayFolder | Gets or sets the folder in which the KPI will appear when a user is browsing the cube. | |
FriendlyName | Returns a user-friendly name. (Herdado de NamedComponent.) | |
Goal | Gets or sets an MDX numeric expression or a calculation that returns the target value of the KPI. | |
ID | Gets or sets the identifier of the component. (Herdado de NamedComponent.) | |
KeyForCollection | Returns the key used in collections. (Herdado de NamedComponent.) | |
Name | Gets or sets the name of the component. (Herdado de NamedComponent.) | |
OwningCollection | Gets or sets the collection that contains the ModelComponent. (Herdado de ModelComponent.) | |
Parent | Gets the Cube object that is the parent of the Kpi object. | |
ParentDatabase | Gets the Database object that is the parent of the Kpi object's Cube object. | |
ParentKpiID | Gets or sets the ID of the parent Kpi. | |
ParentServer | Gets the Server object that is the parent of the Kpi. | |
Site | Infraestrutura. Gets or sets the site of the component. (Herdado de NamedComponent.) | |
SiteID | Infraestrutura. Gets or sets the identifier for the site associated with the component. (Herdado de NamedComponent.) | |
Status | Gets or sets an MDX expression that represents the state of the KPI at a specified point in time. | |
StatusGraphic | Gets or sets a visual element that provides a quick indication of the status for a KPI. | |
Translations | Gets the collection of translations associated with a Kpi object. | |
Trend | Gets or sets an MDX expression that evaluates the value of the KPI over time. | |
TrendGraphic | Gets or sets a visual element that provides a quick indication of the trend for a KPI. | |
Value | Gets or sets an MDX numeric expression that returns the actual value of the KPI. | |
Weight | Gets or sets an MDX numeric expression that assigns a relative importance to a KPI. |
Início
Métodos
Nome | Descrição | |
---|---|---|
AddToContainer | Infraestrutura. Adds a ModelComponent object to the specified container. (Herdado de ModelComponent.) | |
AfterInsert | Infraestrutura. Displays a ModelComponent object after added to the specified index. (Herdado de ModelComponent.) | |
AfterMove | Infraestrutura. Displays a ModelComponent object after moving to the specified index. (Herdado de ModelComponent.) | |
AfterRemove | Infraestrutura. Displays a ModelComponentCollection after a ModelComponent object is removed. (Herdado de ModelComponent.) | |
BeforeRemove | Infraestrutura. Removes the ModelComponent object before the cleanup. (Herdado de ModelComponent.) | |
Clone | Creates a new, full copy of the Kpi object. | |
CopyTo | Copies a Kpi to the specified object. | |
CreateObjRef | Segurança crítica. (Herdado de MarshalByRefObject.) | |
Dispose | (Herdado de Component.) | |
Equals | (Herdado de Object.) | |
GetHashCode | (Herdado de Object.) | |
GetLifetimeService | Segurança crítica. (Herdado de MarshalByRefObject.) | |
GetType | (Herdado de Object.) | |
InitializeLifetimeService | Segurança crítica. (Herdado de MarshalByRefObject.) | |
RemoveFromContainer | Infraestrutura. Removes a ModelComponent object from the specified container. (Herdado de ModelComponent.) | |
Submit() | Infraestrutura. Submits a ModelComponent object. (Herdado de ModelComponent.) | |
Submit(Boolean) | Infraestrutura. Submits a ModelComponent object. (Herdado de ModelComponent.) | |
ToString | Returns a string containing the name of the component. (Herdado de NamedComponent.) | |
Validate(ValidationErrorCollection) | Validates the element to which it is appended; returns any errors encountered in a collection. (Herdado de 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. (Herdado de ModelComponent.) | |
Validate(ValidationErrorCollection, Boolean, ServerEdition) | Validates the Kpi object for errors. (Substitui NamedComponent.Validate(ValidationErrorCollection, Boolean, ServerEdition).) |
Início
Eventos
Nome | Descrição | |
---|---|---|
Disposed | (Herdado de Component.) |
Início
Implementações de interfaces explícitas
Nome | Descrição | |
---|---|---|
ICloneable.Clone | Creates a new, full copy of the Kpi object. | |
IFormattable.ToString | Formats the value of the current instance using the specified format. (Herdado de NamedComponent.) | |
IHostableComponent.Host | Gets or sets the IServiceProvider that is the host of the ModelComponent. (Herdado de ModelComponent.) | |
IModelComponent.FriendlyPath | Gets a friendly path for the ModelComponent. (Herdado de ModelComponent.) | |
IModelComponent.OwningCollection | Gets or sets the collection that owns the current object. (Herdado de ModelComponent.) |
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.