3.2.4.2.14.3 QuotaLimit (put) (Opnum 13)

The QuotaLimit (put) method sets the quota limit for the object.

 [propput, id(FSRM_PROPERTY(FSRM_DISPID_QUOTA_BASE | 0x01))] HRESULT QuotaLimit(
   [in] VARIANT quotaLimit
 );

quotaLimit: Contains the quota limit for the object to use.

Return Values: The method MUST return zero on success, or a nonzero error code on failure.

Return value/code

Description

0x8004530D

FSRM_E_OUT_OF_RANGE

The content of the quotaLimit parameter is less than 1,500 bytes.

0x80070057

E_INVALIDARG

The quotaLimit parameter is not a valid value; it must be greater than 1,500 bytes.

Upon receiving this message, the server MUST validate parameters:

  • Verify that quotaLimit is greater than 1,500 bytes.

If any validation fails, the server MUST terminate processing and return a nonzero error code.

The server MUST use quotaLimit as the quota limit for this object.