FhServiceReloadConfiguration function (fhsvcctl.h)
This function causes the File History Service to reload the current user’s File History configuration files.
Note
FhServiceReloadConfiguration is deprecated and may be altered or unavailable in future releases.
Syntax
HRESULT FhServiceReloadConfiguration(
[in] FH_SERVICE_PIPE_HANDLE Pipe
);
Parameters
[in] Pipe
The communication channel handle returned by an earlier FhServiceOpenPipe call.
Return value
S_OK on success, or an unsuccessful HRESULT value on failure. Possible unsuccessful HRESULT values include values defined in the FhErrors.h header file.
Remarks
This function causes the File History Service to schedule periodic backups for the current user if they have not been scheduled yet and File History is enabled for that user.
It is recommended to call this function every time a policy is changed in File History configuration via the IFhConfigMgr::SetLocalPolicy method. It should also be called after File History has been enabled or disabled for a user.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Target Platform | Windows |
Header | fhsvcctl.h |
Library | FhSvcCtl.lib |