KSC Open API
Kaspersky Security Center API description
HostGroup::AddGroupHostsForSync ( int  nGroupId,
wstring  strSSType,
[out] wstring  strActionGuid 
)

Adds hosts from the specified administration group to the synchronization.

Parameters:
nGroupId(int) administration group ID.
strSSType(wstring) setting storage identity. Empty string means synchronizing all setting storages.
[out]strActionGuid(wstring) ID of an asynchronous operation. To get a status, use AsyncActionStateChecker.CheckActionState. lStateCode "1" means OK and "0" means failure.