IGPM::CreateSearchCriteria method

Creates and returns a GPMSearchCriteria that represents the criteria to use for performing search operations when you use the Group Policy Management Console (GPMC) interfaces.

Syntax

HRESULT CreateSearchCriteria(
  IGPMSearchCriteria **ppIGPMSearchCriteria
);

Parameters

ppIGPMSearchCriteria

Address of a pointer to the IGPMSearchCriteria interface.

Return Value

C++

Returns S_OK if successful. Returns a failure code if an error occurs.

JScript

Returns a reference to a GPMSearchCriteria object.

VB

Returns a reference to a GPMSearchCriteria object.

Requirements

   
Windows version Windows Vista Windows Server 2008
Target Platform Windows
Header gpmgmt.h
DLL Gpmgmt.dll

See Also

IGPM

IGPMSearchCriteria