Version

KeyPerformanceIndicator Constructor

Initializes a new instance of the KeyPerformanceIndicator class.
Syntax
'Declaration
 
Public Function New( _
   ByVal name As String, _
   ByVal caption As String, _
   ByVal description As String, _
   ByVal measureGroupName As String, _
   ByVal displayFolder As String, _
   ByVal value As String, _
   ByVal goal As String, _
   ByVal status As String, _
   ByVal trend As String, _
   ByVal weight As String, _
   ByVal statusGraphic As String, _
   ByVal trendGraphic As String, _
   ByVal currentTime As String, _
   ByVal parentKeyPerformanceIndicatorName As String, _
   ByVal scope As ScopeType, _
   ByVal annotations As String _
)
public KeyPerformanceIndicator( 
   string name,
   string caption,
   string description,
   string measureGroupName,
   string displayFolder,
   string value,
   string goal,
   string status,
   string trend,
   string weight,
   string statusGraphic,
   string trendGraphic,
   string currentTime,
   string parentKeyPerformanceIndicatorName,
   ScopeType scope,
   string annotations
)

Parameters

name
The name of the KeyPerformanceIndicator.
caption
The caption of the KeyPerformanceIndicator.
description
The description of the KeyPerformanceIndicator.
measureGroupName
Name of the associated measure group.
displayFolder
The display folder.
value
The unique name of the member in the measures dimension for the KPI Value.
goal
The unique name of the member in the measures dimension for the KPI Goal. NULL if there is no goal defined.
status
The unique name of the member in the measures dimension for the KPI Status. NULL if there is no status defined.
trend
The unique name of the member in the measures dimension for the KPI Trend. NULL if there is no trend defined.
weight
The unique name of the member in the measures dimension for the KPI Weight. NULL if there is no weight defined.
statusGraphic
The default graphical representation of the KeyPerformanceIndicator for Status
trendGraphic
The default graphical representation of the KeyPerformanceIndicator for Trend
currentTime
The unique name of the member in the time dimension that defines the temporal context of the KeyPerformanceIndicator. NULL if there is no Time defined.
parentKeyPerformanceIndicatorName
Name of the parent key performance indicator.
scope
The scope of the KeyPerformanceIndicator.
annotations
A set of notes, in XML format.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also