TheCDEKPIs..::..SetKPI Method (String, Int64, Boolean)
Sets an existing KPI to a new value. If the KPI does not exist,
a new one will be created with the given value.
Namespace:
nsCDEngine.BaseClassesAssembly: C-DEngine (in C-DEngine.dll)
Syntax
Parameters
- name
- Type: String
Name (key) of the KPI to set
- value
- Type: Int64
Value of the KPI to set
- dontReset
- 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.