3.2.4.2.45.1 ClassificationReportFormats (get) (Opnum 7)
The ClassificationReportFormats (get) method retrieves an array of report formats that will be created when classification is run and returns S_OK upon successful completion.
-
[propget, id(FSRM_PROPERTY(FSRM_DISPID_CLASSIFICATION_MANAGER | 0x01))] HRESULT ClassificationReportFormats( [out, retval] SAFEARRAY(VARIANT) *formats );
formats: Pointer to a variable that upon completion contains the array of report formats that will be created when classification is run.
Return Values: The method MUST return zero on success, or a nonzero error code on failure.
-
Return value/code
Description
0x80070057
E_INVALIDARG
The formats parameter is NULL.
Upon receiving this message, the server MUST validate parameters:
Verify that formats is not NULL.
If any validation fails, the server MUST terminate processing and return a nonzero error code.
The server MUST set the formats array to the Default Classification Job's Classification Job.Formats list that will be created when classification is run.