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

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

Parameters:
szwProductIDproduct ID. Taken from the container of the current host state.
nTraceLevelnew trace level. Specific for each product.
Returns:
Current host state.
Exceptions:
Thefunction throws an exception in case of an error.