BatchEvaluate method of the MSFT_SomFilter class
The BatchEvaluate class method receives an array of MSFT_SomFilter objects and evaluates the rules in each for their application to this computer. The method returns an array of uint32 values with each element in the result array corresponding to the parallel MSFT_SomFilter object in the input array.
This topic uses Managed Object Format (MOF) syntax. For more information about using this method, see Calling a Method.
Syntax
Uint32 BatchEvaluate(
[in] MSFT_SomFilter REF filters[],
[out] uint32 results[]
);
Parameters
-
filters [in]
-
Reference to an array of MSFT_SomFilter objects.
-
results [out]
-
Array of return values. Each element corresponds to the element in the filters array with the same array index.
Return value
Returns a value of S_OK (0) if all the queries expressed in the rules of the corresponding MSFT_SomFilter object in the filters array returned results. A value of S_FALSE (1) indicates that one or more of the queries did not return results. If an error occurs, an applicable WMI error code is returned.
Requirements
Minimum supported client |
Windows 8 |
Minimum supported server |
Windows Server 2012 |
Namespace |
Root\policy |
MOF |
|
DLL |
|