IGPMRSOP::CreateQueryResults method (gpmgmt.h)
Executes a Resultant Set of Policy (RSoP) query. The method supports both logging mode and planning mode queries. Before calling this method, set the appropriate logging mode or planning mode properties. For more information and a list of properties, see IGPMRSOP Property Methods. RSoP planning mode requires a domain controller running Windows Server to perform the query.
Syntax
HRESULT CreateQueryResults();
Return value
JScript
Returns S_OK if successful. Returns a failure code if an error occurs.VB
Returns S_OK if successful. Returns a failure code if an error occurs.Remarks
Call the IGPMRSOP::ReleaseQueryResults method to release the WMI namespace created by this method.
In the GPMC UI, logging mode is also referred to as "Group Policy Results", and planning mode is also referred to as "Group Policy Modeling".
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | gpmgmt.h |
DLL | Gpmgmt.dll |