Condividi tramite


Classe Kpi

Represents a Key Performance Indicator (KPI). This class cannot be inherited.

Gerarchia di ereditarietà

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      Microsoft.AnalysisServices.ModelComponent
        Microsoft.AnalysisServices.NamedComponent
          Microsoft.AnalysisServices.Kpi

Spazio dei nomi  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
<GuidAttribute("8627F50A-070E-4501-86E0-1BB6CA124473")> _
Public NotInheritable Class Kpi _
    Inherits NamedComponent _
    Implements ICloneable
'Utilizzo
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

Nel tipo Kpi sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico Kpi() Initializes a new instance of Kpi using the default values.
Metodo pubblico Kpi(String, String) Initializes a new instance of Kpi using a name and an identifier.

In alto

Proprietà

  Nome Descrizione
Proprietà pubblica Annotations Gets a collection within which you can store custom data. Ereditato da ModelComponent.
Proprietà pubblica AssociatedMeasureGroup Gets the measure group that is associated with the calculations in a Kpi.
Proprietà pubblica AssociatedMeasureGroupID Gets or sets the identifier of the measure group that is associated with the calculations in a Kpi.
Proprietà pubblica Container Ereditato da Component.
Proprietà pubblica CurrentTimeMember Gets or sets an MDX expression that returns the member that identifies the temporal context of the KPI.
Proprietà pubblica Description Gets or sets the description of the component. Ereditato da NamedComponent.
Proprietà pubblica DisplayFolder Gets or sets the folder in which the KPI will appear when a user is browsing the cube.
Proprietà protetta FriendlyName Returns a user-friendly name. Ereditato da NamedComponent.
Proprietà pubblica Goal Gets or sets an MDX numeric expression or a calculation that returns the target value of the KPI.
Proprietà pubblica ID Gets or sets the identifier of the component. Ereditato da NamedComponent.
Proprietà protetta KeyForCollection Returns the key used in collections. Ereditato da NamedComponent.
Proprietà pubblica Name Gets or sets the name of the component. Ereditato da NamedComponent.
Proprietà pubblica OwningCollection Gets or sets the collection that contains the ModelComponent. Ereditato da ModelComponent.
Proprietà pubblica Parent Gets the Cube object that is the parent of the Kpi object.
Proprietà pubblica ParentDatabase Gets the Database object that is the parent of the Kpi object's Cube object.
Proprietà pubblica ParentKpiID Gets or sets the ID of the parent Kpi.
Proprietà pubblica ParentServer Gets the Server object that is the parent of the Kpi.
Proprietà pubblica Site Infrastruttura. Gets or sets the site of the component. Ereditato da NamedComponent.
Proprietà pubblica SiteID Infrastruttura. Gets or sets the identifier for the site associated with the component. Ereditato da NamedComponent.
Proprietà pubblica Status Gets or sets an MDX expression that represents the state of the KPI at a specified point in time.
Proprietà pubblica StatusGraphic Gets or sets a visual element that provides a quick indication of the status for a KPI.
Proprietà pubblica Translations Gets the collection of translations associated with a Kpi object.
Proprietà pubblica Trend Gets or sets an MDX expression that evaluates the value of the KPI over time.
Proprietà pubblica TrendGraphic Gets or sets a visual element that provides a quick indication of the trend for a KPI.
Proprietà pubblica Value Gets or sets an MDX numeric expression that returns the actual value of the KPI.
Proprietà pubblica Weight Gets or sets an MDX numeric expression that assigns a relative importance to a KPI.

In alto

Metodi

  Nome Descrizione
Metodo protetto AddToContainer Infrastruttura. Adds a ModelComponent object to the specified container. Ereditato da ModelComponent.
Metodo protetto AfterInsert Infrastruttura. Displays a ModelComponent object after added to the specified index. Ereditato da ModelComponent.
Metodo protetto AfterMove Infrastruttura. Displays a ModelComponent object after moving to the specified index. Ereditato da ModelComponent.
Metodo protetto AfterRemove Infrastruttura. Displays a ModelComponentCollection after a ModelComponent object is removed. Ereditato da ModelComponent.
Metodo protetto BeforeRemove Infrastruttura. Removes the ModelComponent object before the cleanup. Ereditato da ModelComponent.
Metodo pubblico Clone Creates a new, full copy of the Kpi object.
Metodo pubblico CopyTo Copies a Kpi to the specified object.
Metodo pubblico CreateObjRef Criticità per la sicurezza. Ereditato da MarshalByRefObject.
Metodo pubblico Dispose Ereditato da Component.
Metodo pubblico Equals Ereditato da Object.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetLifetimeService Criticità per la sicurezza. Ereditato da MarshalByRefObject.
Metodo pubblico GetType Ereditato da Object.
Metodo pubblico InitializeLifetimeService Criticità per la sicurezza. Ereditato da MarshalByRefObject.
Metodo protetto RemoveFromContainer Infrastruttura. Removes a ModelComponent object from the specified container. Ereditato da ModelComponent.
Metodo pubblico Submit() Infrastruttura. Submits a ModelComponent object. Ereditato da ModelComponent.
Metodo pubblico Submit(Boolean) Infrastruttura. Submits a ModelComponent object. Ereditato da ModelComponent.
Metodo pubblico ToString Returns a string containing the name of the component. Ereditato da NamedComponent.
Metodo pubblico Validate(ValidationErrorCollection) Validates the element to which it is appended; returns any errors encountered in a collection. Ereditato da ModelComponent.
Metodo pubblico 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. Ereditato da ModelComponent.
Metodo pubblico Validate(ValidationErrorCollection, Boolean, ServerEdition) Validates the Kpi object for errors. Esegue l'override di NamedComponent.Validate(ValidationErrorCollection, Boolean, ServerEdition).

In alto

Eventi

  Nome Descrizione
Evento pubblico Disposed Ereditato da Component.

In alto

Implementazioni esplicite dell'interfaccia

  Nome Descrizione
Implementazione esplicita dell'interfacciaMetodo privato ICloneable.Clone Creates a new, full copy of the Kpi object.
Implementazione esplicita dell'interfacciaMetodo privato IFormattable.ToString Formats the value of the current instance using the specified format. Ereditato da NamedComponent.
Implementazione esplicita dell'interfacciaProprietà privata IHostableComponent.Host Gets or sets the IServiceProvider that is the host of the ModelComponent. Ereditato da ModelComponent.
Implementazione esplicita dell'interfacciaProprietà privata IModelComponent.FriendlyPath Gets a friendly path for the ModelComponent. Ereditato da ModelComponent.
Implementazione esplicita dell'interfacciaProprietà privata IModelComponent.OwningCollection Gets or sets the collection that owns the current object. Ereditato da ModelComponent.

In alto

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.

Vedere anche

Riferimento

Spazio dei nomi Microsoft.AnalysisServices