3.2.4.2.45.23 CancelClassification (Opnum 29)
The CancelClassification method stops the running job associated with the Default Classification job object, if present, from continuing and returns S_OK upon successful completion.
-
[id(FSRM_DISPID_CLASSIFICATION_MANAGER | 0x0C)] HRESULT CancelClassification();
This method has no parameters.
Return Values: The method MUST return zero on success, or a nonzero error code on failure.
-
Return value/code
Description
0x8004533E
FSRM_E_CLASSIFICATION_NOT_RUNNING
The classification is not currently running.
The server MUST stop the associated Running Job or return a nonzero error code as follows:
If there is no Running Job in the Classification Job Queue, the server MUST return FSRM_E_CLASSIFICATION_NOT_RUNNING.
If there is a Running Job in the Classification Job Queue, the server MUST set the Running Job.Cancel property of the Running job to true.