FH_BACKUP_STATUS enumeration (fhcfg.h)
Specifies whether File History backups are enabled.
Syntax
typedef enum _FH_BACKUP_STATUS {
FH_STATUS_DISABLED = 0,
FH_STATUS_DISABLED_BY_GP,
FH_STATUS_ENABLED,
FH_STATUS_REHYDRATING,
MAX_BACKUP_STATUS
} FH_BACKUP_STATUS;
Constants
FH_STATUS_DISABLED Value: 0 File History backups are not enabled by the user. |
FH_STATUS_DISABLED_BY_GP File History backups are disabled by Group Policy. |
FH_STATUS_ENABLED File History backups are enabled. |
FH_STATUS_REHYDRATING |
MAX_BACKUP_STATUS The maximum enumeration value for this enumeration. This value and all values greater than it are reserved for system use. |
Remarks
The protection scope is the set of files and folders that are backed up by the File History feature. The default protection scope includes all folders from all user libraries and the Contacts, Desktop, and Favorites folders.
The FH_STATUS_DISABLED_BY_GP status can be queried by calling the IFhConfigMgr::GetBackupStatus method, but it cannot be set by calling the IFhConfigMgr::SetBackupStatus method. This is because it can only be set by Group Policy.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Header | fhcfg.h |