KSC Open API  13.1
Kaspersky Security Center API description
wstring AdmServerSettings::ChangeSharedFolder ( wstring  wstrNetworkPath)

Change shared folder.

Parameters:
wstrNetworkPath(wstring) network path to shared folder
Returns:
(wstring) id of asynchronous operation.
Remarks:
Check the operation state by calling AsyncActionStateChecker::CheckActionState periodically until it's finalized. If the operation succeeds then AsyncActionStateChecker::CheckActionState will return bFinalized=true and lStateCode=1. Otherwise, a call to AsyncActionStateChecker::CheckActionState returns error in pStateData.
Exceptions:
Throwsexception in case of error.