C-DEngine 5.105

TheCDEKPIs..::..IncrementKPI Method (String, Boolean)

Increments an existing KPI by name by 1. IF the KPI does not exist, a new one will be created with a value of 1.

Namespace:  nsCDEngine.BaseClasses
Assembly:  C-DEngine (in C-DEngine.dll)


public static void IncrementKPI(
	string name,
	bool dontReset
Public Shared Sub IncrementKPI ( _
	name As String, _
	dontReset As Boolean _
static void IncrementKPI(
	String^ name, 
	bool^ dontReset


Type: String
Name (key) of the KPI to increment
Type: Boolean
If true and the KPI does not exist, the new KPI created will never be reset to zero and always increase. This means that a separatae "Total" property will not be calculated when harvested by the NodeHost.