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.
Inheritance
The IGPMDomain interface inherits from the IDispatch interface. IGPMDomain also has these types of members:
Methods
The IGPMDomain interface has these methods.
IGPMDomain::CreateGPO Creates and retrieves a GPMGPO object with a default display name. Typically, the caller sets the display name immediately after calling this method. |
IGPMDomain::GetGPO Retrieves a GPMGPO object with a specified Group Policy object (GPO) ID. The group policy object ID is represented by a GUID. |
IGPMDomain::GetSOM Retrieves the IGPMSOM interface that represents the domain or the organizational unit (OU) at the specified path. |
IGPMDomain::GetWMIFilter Retrieves a GPMWMIFilter object for the specified path. |
IGPMDomain::RestoreGPO Restores a Group Policy object (GPO) from a GPMBackup object. |
IGPMDomain::SearchGPOs Executes a search for GPMGPO objects in the domain and then returns a GPMGPOCollection object. |
IGPMDomain::SearchSOMs Executes a search for GPMSOM objects (domains and organizational units) in the domain and then returns a GPMSOMCollection object. |
IGPMDomain::SearchWMIFilters Executes a search for GPMWMIFilter objects in the domain and then returns a GPMWMIFilterCollection object. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | gpmgmt.h |