IGPMDomain2 interface

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.

Members

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

Methods

The IGPMDomain2 interface has these methods.

MethodDescription
CreateGPOFromStarterGPO

Creates and retrieves a GPMGPO object from a GPMStarterGPO object.

CreateStarterGPO

Creates and retrieves a GPMStarterGPO object.

GetStarterGPO

Retrieves a GPMStarterGPO object that has the specified GPO ID.

LoadStarterGPO

Opens a Starter GPO cabinet (CAB) file and imports it into the domain.

RestoreStarterGPO

Restores the Starter GPO from a GPMStarterGPOBackup object into the current domain.

SearchStarterGPOs

Executes a search for GPMStarterGPO objects in the domain and returns a GPMStarterGPOCollection object.

 

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Redistributable

GPMC on Windows Server 2003 or Windows XP with SP1

Header

Gpmgmt.h

IDL

Gpmgmt.idl

DLL

Gpmgmt.dll

IID

IID_IGPMDomain2 is defined as 7CA6BB8B-F1EB-490a-938D-3C4E51C768E6

See also

IGPM2
IGPMStarterGPOBackup
IGPMStarterGPO
IGPMStarterGPOCollection

 

 

Show:
© 2014 Microsoft