3.14.4.4 ISearchResult::Warnings (Opnum 11)

The ISearchResult::Warnings (opnum 11) method retrieves the warnings generated during the search.

 HRESULT Warnings(
   [out, retval] IUpdateExceptionCollection** retval
 );

retval: A collection of the warnings generated during the search.

Return Values: The method MUST return information in an HRESULT data structure. The severity bit in the structure identifies the following conditions:

  • If the severity bit is set to 0, the method completed successfully.

  • If the severity bit is set to 1, the method failed and encountered a fatal error.

Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying RPC protocol [MS-RPCE].

This method SHOULD return the value of the Warnings ADM element.