IFhConfigMgr::SetBackupStatus method (fhcfg.h)

Changes the backup status value for an FhConfigMgr object.

Note

IFhConfigMgr is deprecated and may be altered or unavailable in future releases.

Syntax

HRESULT SetBackupStatus(
  [in] FH_BACKUP_STATUS BackupStatus
);

Parameters

[in] BackupStatus

The backup status value. See the FH_BACKUP_STATUS enumeration for a list of possible backup status values.

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

FH_STATUS_DISABLED_BY_GP is not a valid value for the BackupStatus parameter.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header fhcfg.h

See also

FH_BACKUP_STATUS

FhConfigMgr

IFhConfigMgr

IFhConfigMgr::GetBackupStatus