IWbemBackupRestore::Backup method (wbemcli.h)
The IWbemBackupRestore::Backup method backs up the contents of the static repository to a separate file.
Syntax
HRESULT Backup(
[in] LPCWSTR strBackupToFile,
[in] long lFlags
);
Parameters
[in] strBackupToFile
Constant, null-terminated string of 16-bit Unicode characters that contains the file name to which to back up the contents of the repository.
[in] lFlags
Reserved. This parameter must be 0 (zero).
Return value
This method returns an HRESULT indicating the status of the method call. The following list lists the value contained within an HRESULT.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | wbemcli.h (include Wbemidl.h) |
Library | Wbemuuid.lib |
DLL | Wbemsvc.dll |