KSC Open API  13.1
Kaspersky Security Center API description
UpdComps::UpdateAsync ( params  pParams,
wstring  wsRequestId 
)

Requests asynchronous bases update or retranslation.

Parameters:
pParams(params) Update operation parameters (see Universal update task parameters).
wsRequestId(wstring) Unique user-generated request identifier of new asynchronous update operation.
Note:
This call is asynchronous about long update operation, but it may wait for up2date component start in blocking way if component isn't yet started (several minutes maximum).
Note:
Async events, generated by the call, have type KLEV::c_EventAsyncState ("KLEV_EventAsyncState").
Event params includes the following parameters:
  • KLEV::c_evpAsyncRequestId ("KLEV_AsyncRequestId")
  • KLEV::c_evpAsyncRequestResult ("KLEV_AsyncRequestResult")
  • KLEV::c_evpAsyncRequestPercentComplete ("KLEV_AsyncRequestPercentComplete")
  • KLEV::c_evpAsyncRequestError ("KLEV_AsyncRequestError")
Note:
The simplest way to update some bases is to set "arrCategoryFilter" parameter - component list to update. Remember, KL-servers are used by default with KSC proxy settings (if any). Also do not forget to set desired operation - update or retranslation - via "bDoUpdate" parameter.