The IGPMGPO2 interface supports methods that enable you to manage Group Policy objects (GPOs) and Starter Group Policy objects in the directory service.
Note that you cannot use this interface to manage local GPOs (LGPOs).
You can instantiate a GPMGPO2 object by creating a new one with a call to IGPMDomain::CreateGPO, or IGPMDomain2::CreateStarterGPO retrieving an existing one with a call to IGPMDomain::GetGPO, calling IGPMDomain2::GetStarterGPO or by searching for one with a call to IGPMDomain::SearchGPOs. You can also create a GPO from an existing Starter GPO with a call to IGPMDomain2::CreateGPOFromStarterGPO. After creating the object, you can query the GPO and set properties related to the GPO.
The IGPMGPO2 interface has these methods.
|Windows version||Windows Vista Windows Server 2008|