<div class="content" name="SearchScope" uuid="8cb54b0d-2b00-4099-bd54-6ffda45d2a7d"><p>The IUpdateSearcher3::SearchScope (opnum 29) method sets the
scope of the search.</p><dl>
<dd>
<div><pre> HRESULT SearchScope(
   [in] SearchScope value
 );
</pre></div>
</dd></dl><p><b>value: </b>The scope of searches initiated by
using this interface.</p><p><b>Return Values: </b>The method MUST return
information in an <b>HRESULT</b> data structure. The severity bit in the
structure identifies the following conditions:</p><ul><li><p><span><span>  </span></span>If
the severity bit is set to 0, the method completed successfully.</p>
</li><li><p><span><span>  </span></span>If
the severity bit is set to 1, the method failed and encountered a fatal error.</p>
</li></ul><p><b>Exceptions Thrown:</b> No exceptions are thrown beyond
those thrown by the underlying RPC protocol <span><a href="../ms-rpce/290c38b1-92fe-4229-91e6-4fc376610c15" data-linktype="relative-path">[MS-RPCE]</a></span>.</p><p>This method SHOULD set the <b>SearchScope</b> ADM element to
the given <i>value</i> parameter.</p></div>