Statisticsupdate(Boolean) Method

request to store this object and refresh cached storage

Definition

Namespace: TCX.Configuration
Assembly: 3cxpscomcpp2 (in 3cxpscomcpp2.dll) Version: 20.0.1
C#
bool update(
	bool recache_after_update
)

Parameters

recache_after_update  Boolean
 

Return Value

Boolean

Remarks

Race condition with update:
if statistics table is initialized using InitializeStatistics(String), the cache of the table will be not be updated and CreateStatistics(String, String) will continue to return previous state of the object until update notification will not come from the server and will not be processed by backend. method update(Boolean) is added to give ability to guarantee that call to CreateStatistics(String, String) will return recent update after update will finish.

See Also