3.2.4.2.14.2 QuotaLimit (get) (Opnum 12)

The QuotaLimit (get) method returns the quota limit for the object.

 [propget, id(FSRM_PROPERTY(FSRM_DISPID_QUOTA_BASE | 0x01))] HRESULT QuotaLimit(
   [out, retval] VARIANT* quotaLimit
 );

quotaLimit: A pointer to a variable that, upon completion, contains the quota limit of the object.

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

Return value/code

Description

0x80070057

E_INVALIDARG

The quotaLimit parameter is NULL.

Upon receiving this message, the server MUST validate parameters:

  • Verify that quotaLimit is not NULL.

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

The server MUST set quotaLimit to the quota limit of the object.