3.2.4.2.11.9 EnableScreeningAudit (get) (Opnum 15)
The EnableScreeningAudit (get) method retrieves the Enable file screen audit value that the File Server Resource Manager Protocol is configured to use and returns S_OK upon successful completion.
-
[propget, id(FSRM_PROPERTY(FSRM_DISPID_SETTING | 0x05))] HRESULT EnableScreeningAudit( [out, retval] VARIANT_BOOL* enableScreeningAudit );
enableScreeningAudit: Pointer to a variable that upon completion contains the Enable file screen audit value that the File Server Resource Manager Protocol is configured to use.
Return Values: The method MUST return zero on success, or a nonzero error code on failure.
-
Return value/code
Description
0x80070057
E_INVALIDARG
The enableScreeningAudit parameter is NULL.
Upon receiving this message, the server MUST validate parameters:
Verify that the enableScreeningAudit parameter is not NULL.
If any validation fails, the server MUST terminate processing and return a nonzero error code.
The server MUST set the enableScreeningAudit parameter to the Enable file screen audit value that the File Server Resource Manager Protocol is configured to use.