KSC Open API  13.1
Kaspersky Security Center API description
params NagRdu::ChangeXperfBaseParams ( wstring  szwProductID,
int  nTraceLevel,
int  nXPerfMode 
)

Changes the XPerf trace level for a specific product, enables and disables XPerf tracing.

Parameters:
szwProductIDproduct ID. Taken from the container of the current host state.
nTraceLevelnew XPerf trace level. Specific for each product.
nXPerfModeXPerf mode. 0 means BASIC, and 1 means ONREBOOT.
Returns:
Current host state.
Exceptions:
Thefunction throws an exception in case of an error.