C-DEngine 5.105

TheCDEKPIs..::..IncTSMByEng Method

Increments the KPI for a TSMByENG with the given engine 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)

Syntax


public static void IncTSMByEng(
	string pEngine,
	bool dontReset
)
Public Shared Sub IncTSMByEng ( _
	pEngine As String, _
	dontReset As Boolean _
)
public:
static void IncTSMByEng(
	String^ pEngine, 
	bool^ dontReset
)

Parameters

pEngine
Type: String
The engine name corresponding to the KPI
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.