This topic has not yet been rated - Rate this topic

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 method has no parameters.

Return value

The method returns the following return values.

Return codeDescription
S_OK

Success

 

Remarks

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

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2

DLL

SrmLib.dll

IID

IID_IFsrmFileManagementJob is defined as 0770687e-9f36-4d6f-8778-599d188461c9

See also

IFsrmFileManagementJob
IFsrmFileManagementJob::Run
MSFT_FSRMFileManagementJob

 

 

Send comments about this topic to Microsoft

Build date: 12/6/2012

Community Additions

ADD
© 2013 Microsoft. All rights reserved.