IFsrmFileManagementJob::Cancel method (fsrmreports.h)

[This method is supported for compatibility but it's recommended to use the FSRM WMI Classes to manage FSRM. Please see the MSFT_FSRMFileManagementJob class.]

Cancels the job if it is running.

Syntax

HRESULT Cancel();

Return value

The method returns the following return values.

Remarks

Cancels the job if the value of its RunningStatus property is FsrmReportRunningStatus_Queued or FsrmReportRunningStatus_Running.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008 R2
Target Platform Windows
Header fsrmreports.h
DLL SrmSvc.dll

See also

IFsrmFileManagementJob

IFsrmFileManagementJob::Run

MSFT_FSRMFileManagementJob