IGPMBackupDir interface (gpmgmt.h)

The IGPMBackupDir interface supports methods that allow you to query GPMBackup and GPMBackupCollection objects when you use the Group Policy Management Console (GPMC) interfaces.

To create a GPMBackupDir object, call the IGPM::GetBackupDir method.

Inheritance

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

Methods

The IGPMBackupDir interface has these methods.

 
IGPMBackupDir::GetBackup

Retrieves the GPMBackup object that has the specified backup ID (GUID). The backup ID is the ID of the backed-up GPO, not the ID of the GPO.
IGPMBackupDir::SearchBackups

Executes a search for the GPMBackup object according to the specified criteria, and returns a GPMBackupCollection object.

Requirements

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

See also

IDispatch

IGPM

IGPMBackup

IGPMBackupCollection