IWbemBackupRestoreEx::Resume method

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

Syntax


HRESULT Resume();

Parameters

This method has no parameters.

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.

WBEM_E_INVALID_OPERATION

Requested operation is not valid.

WBEM_E_ACCESS_DENIED

User does not have the right to perform this. For more information, see Maintaining WMI Security.

S_OK

Method succeeded.

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

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Wbemcli.h (include Wbemidl.h)

Library

Wbemuuid.lib

DLL

Wbemsvc.dll

See also

IWbemBackupRestoreEx

 

 

Show: