Export (0) Print
Expand All

FhServiceReloadConfiguration function

This function causes the File History Service to reload the current user’s File History configuration files.

Syntax


HRESULT WINAPI FhServiceReloadConfiguration(
  _In_  FH_SERVICE_PIPE_HANDLE Pipe
);

Parameters

Pipe [in]

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

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

FhSvcCtl.h

Library

FhSvcCtl.lib

See also

FhServiceOpenPipe
FhServiceStopBackup

 

 

Community Additions

ADD
Show:
© 2014 Microsoft