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

Changes the rotated 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.
nMaxPartSizemaximum size of each part, in MB.
Returns:
Current host state.
Exceptions:
Thefunction throws an exception in case of an error.