3.2.4.2.15.5 SourceTemplateName (get) (Opnum 25)
The SourceTemplateName (get) method returns the name of the template this quota object was derived from.
-
[propget, id(FSRM_PROPERTY(FSRM_DISPID_QUOTA_OBJECT | 0x04))] HRESULT SourceTemplateName( [out, retval] BSTR* quotaTemplateName );
quotaTemplateName: Pointer to a variable that upon completion contains the name of the template that this quota object was derived from.
Return Values: The method MUST return zero on success, or a nonzero error code on failure.
-
Return value/code
Description
0x80070057
E_INVALIDARG
The quotaTemplateName parameter is NULL.
Upon receiving this message, the server MUST validate parameters:
Verify that quotaTemplateName is not NULL.
Verify whether this quota object is derived from a template by searching the List of Persisted Directory Quota Templates for a matching Template id.
If any validation fails, the server MUST terminate processing and return a nonzero error code.
The server MUST set quotaTemplateName to the name of the template that this quota object was derived from or return a nonzero error code.
If the quota object was not derived from a template, the server MUST return S_FALSE.