IWbemBackupRestoreEx::Resume method (wbemcli.h)

The IWbemBackUpRestoreEx::Resume method releases a lock on the Windows Management Instrumentation (WMI) repository so operations can continue.

Syntax

HRESULT Resume();

Return value

This method returns an HRESULT that indicates the status of a method call. The following list lists the values contained within an HRESULT.

Remarks

The Resume method should always be called when the Pause method is called. Resume must be called on the same instance of IWbemBackUpRestoreEx that the Pause method is implemented. Releasing the object without calling Resume automatically causes the Resume method to be implemented.

Note  To implement the Resume method, the client user must have SE_BACKUP_NAME prior to calling the method.
 

Examples

The following C++ example shows how to call the IWbemBackUpRestoreEx::Resume method.

// The pInt variable is of type IWbemBackupRestoreEx*
pInt->Resume();

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

See also

IWbemBackupRestoreEx