IGPMDomain interface (gpmgmt.h)
The IGPMDomain interface represents a specific domain and supports methods that allow you to perform the following tasks when you are using the Group Policy Management Console (GPMC) interfaces:
- Query scope of management (SOM) objects.
- Create, restore and query Group Policy objects (GPOs).
- Create and query Windows Management Instrumentation (WMI) filters.
The IGPMDomain interface inherits from the IDispatch interface. IGPMDomain also has these types of members:
The IGPMDomain interface has these methods.
Creates and retrieves a GPMGPO object with a default display name. Typically, the caller sets the display name immediately after calling this method.
Retrieves a GPMGPO object with a specified Group Policy object (GPO) ID. The group policy object ID is represented by a GUID.
Retrieves the IGPMSOM interface that represents the domain or the organizational unit (OU) at the specified path.
Retrieves a GPMWMIFilter object for the specified path.
Restores a Group Policy object (GPO) from a GPMBackup object.
Executes a search for GPMGPO objects in the domain and then returns a GPMGPOCollection object.
Executes a search for GPMSOM objects (domains and organizational units) in the domain and then returns a GPMSOMCollection object.
Executes a search for GPMWMIFilter objects in the domain and then returns a GPMWMIFilterCollection object.
|Minimum supported client
|Minimum supported server
|Windows Server 2008