IFsrmFileManagementJob::Cancel method

[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(

);

Parameters

This function has no parameters.

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

   
Windows version None supported Windows Server 2008 R2
Target Platform Windows
Header fsrmreports.h
DLL SrmSvc.dll

See Also

IFsrmFileManagementJob

IFsrmFileManagementJob::Run

MSFT_FSRMFileManagementJob