IFhConfigMgr interface

The IFhConfigMgr interface allows client applications to read and modify the File History configuration for the user account under which the methods of this interface are called.

Members

The IFhConfigMgr interface inherits from the IUnknown interface. IFhConfigMgr also has these types of members:

Methods

The IFhConfigMgr interface has these methods.

MethodDescription
AddRemoveExcludeRule

Adds an exclusion rule to the exclusion list or removes a rule from the list.

ChangeDefaultTargetRecommendation

Causes the currently assigned backup target to be recommended or not recommended to other members of the home group that the computer belongs to.

CreateDefaultConfiguration

Creates File History configuration files with default settings for the current user and loads them into an FhConfigMgr object.

GetBackupStatus

Retrieves the backup status value for an FhConfigMgr object.

GetDefaultTarget

Returns a pointer to an IFhTarget interface that can be used to query information about the currently assigned backup target.

GetIncludeExcludeRules

Retrieves the inclusion and exclusion rules that are currently stored in an FhConfigMgr object.

GetLocalPolicy

Retrieves the numeric parameter for a local policy for the File History feature.

LoadConfiguration

Loads the File History configuration information for the current user into an FhConfigMgr object.

ProvisionAndSetNewTarget

Provisions a certain storage device or network share as a File History backup target and assigns it as the default backup target for the current user.

QueryProtectionStatus

Retrieves the current File History protection state.

SaveConfiguration

Saves to disk all the changes that were made in an FhConfigMgr object since the last time that the LoadConfiguration, CreateDefaultConfiguration or SaveConfiguration method was called for the File History configuration files of the current user.

SetBackupStatus

Changes the backup status value for an FhConfigMgr object.

SetLocalPolicy

Changes the numeric parameter value of a local policy in an FhConfigMgr object.

ValidateTarget

Checks whether a certain storage device or network share can be used as a File History backup target.

 

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Fhcfg.h

IDL

Fhcfg.idl

 

 

Show: