KSC Open API
Kaspersky Security Center API description
HostGroup::SetNextMode ( wstring  wstrNewMode)

Sets the workspace mode to "NEXT".

Parameters:
wstrNewMode(wstring) New workspace mode "NEXT".
Exceptions:
KLSTD::STDE_NOACCESSThis call ends with this error if the user who made the call not have "Product integration" privileges. See Some error definitions.