3.2.4.2.20.3 Name (get) (Opnum 22)

The Name (get) method returns the name of the quota template.

 [propget, id(FSRM_PROPERTY(FSRM_DISPID_QUOTA_TEMPLATE | 0x01))] HRESULT Name(
   [out, retval] BSTR* name
 );

name: A pointer to a variable that upon completion contains the name of the quota template.

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

Return value/code

Description

0x80070057

E_INVALIDARG

This code is returned for the following reasons:

  • The name parameter is NULL.

  • The name parameter contains non-valid characters or is NULL. The following are considered invalid characters: comma (,), single quote ('), double quote ("), vertical bar (|).

Upon receiving this message, the server MUST validate parameters:

  • Verify that name is not NULL.

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

The server MUST set name to the Directory Quota Template.Name of the quota template.