IGPMDomain2 interface (gpmgmt.h)

The IGPMDomain2 interface represents a specified domain and supports certain methods.

These methods 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 Starter Group Policy objects (GPOs)
  • Create and query Windows Management Instrumentation (WMI) filters
To create a GPMDomain object, call the IGPM::GetDomain method.

Inheritance

The IGPMDomain2 interface inherits from IGPMDomain. IGPMDomain2 also has these types of members:

Methods

The IGPMDomain2 interface has these methods.

Method Description
IGPMDomain2::CreateGPOFromStarterGPO Creates and retrieves a GPMGPO object from a GPMStarterGPO object.
IGPMDomain2::CreateStarterGPO Creates and retrieves a GPMStarterGPO object.
IGPMDomain2::GetStarterGPO Retrieves a GPMStarterGPO object that has a specified Group Policy object ID.
IGPMDomain2::LoadStarterGPO Opens a Starter Group Policy object (GPO) cabinet (CAB) file and imports it into the domain.
IGPMDomain2::RestoreStarterGPO Restores the Starter Group Policy object (GPO) from a GPMStarterGPOBackup object.
IGPMDomain2::SearchStarterGPOs Executes a search for GPMStarterGPO objects.

Requirements

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

See also

IGPM2

IGPMDomain

IGPMStarterGPO

IGPMStarterGPOBackup

IGPMStarterGPOCollection