The IUpdate::MaxDownloadSize (opnum 32) method retrieves the maximum download size of the update.

 HRESULT MaxDownloadSize(
   [out, retval] DECIMAL* retval
 );

retval: A DECIMAL, as specified in [MS-OAUT] section 2.2.26, set to the maximum number of bytes that might need to be downloaded for the update.

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

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

The server SHOULD return the value of the MaxDownloadSize ADM element.