<div class="content" name="ServerSelection" uuid="99e6d560-c124-4b75-a738-c42b78b7b03d"><p>The IUpdateHistoryEntry::ServerSelection (opnum 17) method
describes the type of <span><a href="750e8355-177c-4a51-bab8-927c813819c8#gt_1692cfd4-4b1d-4566-9820-8171465bbc4b" data-linktype="relative-path">update service</a></span> that
provided the update for which the operation was performed.</p><dl>
<dd>
<div><pre> HRESULT ServerSelection(
   [out, retval] ServerSelection* retval
 );
</pre></div>
</dd></dl><p><b>retval: </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 service that provided the update
for which the operation was performed.</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 return the result of the <b>ServerSelection</b>
ADM element.</p></div>