IGPMDomain2::SearchStarterGPOs method (gpmgmt.h)
Executes a search for GPMStarterGPO objects in the domain and returns a GPMStarterGPOCollection object.
Syntax
HRESULT SearchStarterGPOs(
[in] IGPMSearchCriteria *pIGPMSearchCriteria,
[out] IGPMStarterGPOCollection **ppIGPMTemplateCollection
);
Parameters
[in] pIGPMSearchCriteria
Pointer to the criteria to apply to the search.
[out] ppIGPMTemplateCollection
Address of a pointer to the IGPMStarterGPOCollection interface that represents the GPOs found by the search.
Return value
C++
Returns S_OK if successful. Returns a failure code if an error occurs.JScript
Returns a reference to a GPMStarterGPOCollection object.VB
Returns a reference to a GPMStarterGPOCollection object.Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | gpmgmt.h |
DLL | Gpmgmt.dll |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for