IGPMDomain2::GetStarterGPO method (gpmgmt.h)
Retrieves a GPMStarterGPO object that has a specified Group Policy object ID. The GPO ID is represented by a GUID.
Syntax
HRESULT GetStarterGPO(
[in] BSTR bstrGuid,
[out] IGPMStarterGPO **ppTemplate
);
Parameters
[in] bstrGuid
Required. GUID that represents the ID of the GPO to access. Use a null-terminated string.
[out] ppTemplate
Address of a pointer to the IGPMStarterGPO interface for the specified Starter GPO ID.
Return value
C++
Returns S_OK if successful. Returns a failure code if an error occurs.JScript
Returns a reference to a GPMStarterGPO object.VB
Returns a reference to a GPMStarterGPO object.Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | gpmgmt.h |
DLL | Gpmgmt.dll |