<div class="content" name="DownloadPriority" uuid="10b8a795-aa04-4f5f-b79d-7b3b63b67ff2"><p>The IUpdate::DownloadPriority (opnum 51) method retrieves
the download priority for the update.</p><dl>
<dd>
<div><pre> HRESULT DownloadPriority(
   [out, retval] DownloadPriority* retval
 );
</pre></div>
</dd></dl><p><b>retval: </b>A <span><a href="c102d4a3-6dac-447f-9dd0-17facc64a0a2" data-linktype="relative-path">DownloadPriority (section 2.2.5)</a></span>
enumeration value that indicates the recommended download priority for the
update.</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>The server SHOULD return the value of the <b>DownloadPriority</b>
ADM element.</p></div>