<div class="content" name="ServerSelection" uuid="3bb655b4-b39a-426e-9a82-302c66110668"><p>The IUpdateSearcher::ServerSelection (Opnum 15) method sets
the type of update server used to search against.</p><dl>
<dd>
<div><pre> HRESULT ServerSelection(
   [in] ServerSelection value
 );
</pre></div>
</dd></dl><p><b>value: </b>A value from the <span><a href="07e2bfa4-6795-4189-b007-cc50b476181a" data-linktype="relative-path">ServerSelection (section 2.2.11)</a></span>
enumeration that indicates the type of update server against which to perform
search operations 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>ServerSelection</b> ADM
element to the <i>value</i> parameter.</p></div>