IGPMAsyncCancel interface (gpmgmt.h)

A pointer to the IGPMAsyncCancel interface is returned to the client by the Group Policy Management Console (GPMC) method that the client calls asynchronously. GPMC operations such as backup, restore, import, copy, and report generation can execute asynchronously. This object cannot be accessed through scripting.

Inheritance

The IGPMAsyncCancel interface inherits from the IDispatch interface. IGPMAsyncCancel also has these types of members:

Methods

The IGPMAsyncCancel interface has these methods.

 
IGPMAsyncCancel::Cancel

The client calls this method to cancel an asynchronous Group Policy Management Console (GPMC) operation. GPMC operations such as backup, restore, import, copy, and report generation can execute asynchronously.

Remarks

GPMC operations such as backup, restore, import, copy, and report generation can execute asynchronously. For more information about how to use this interface with asynchronous operations, see the "Remarks" section of IGPMAsyncProgress Interface. The server calls the IGPMAsyncProgress::Status method to notify the client about the progress of the operation. The Status method also returns an interface pointer to the resultant object, for example, to a GPMGPO or to a GPMBackup object. The caller can then cancel the operation by calling the IGPMAsyncCancel::Cancel method.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header gpmgmt.h

See also

IDispatch

IGPMAsyncProgress