IGPMAsyncCancel interface

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.

Members

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

Methods

The IGPMAsyncCancel interface has these methods.

MethodDescription
Cancel

A client application calls this function to cancel a GPMC operation.

 

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

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Gpmgmt.h

IDL

Gpmgmt.idl

DLL

Gpmgmt.dll

IID

IID_IGPMAsyncCancel is defined as DDC67754-BE67-4541-8166-F48166868C9C

See also

IDispatch
IGPMAsyncProgress

 

 

Show: