Windows Dev Center

IFsrmFileManagementJob::ReportEnabled property

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

Indicates whether the job will generate a report when it runs.

This property is read/write.

Syntax


HRESULT put_ReportEnabled(
  [in]  VARIANT_BOOL reportEnabled
);

HRESULT get_ReportEnabled(
  [out] VARIANT_BOOL *pReportEnabled
);

Property value

Set to VARIANT_TRUE to enable reporting; otherwise, VARIANT_FALSE. The default is VARIANT_TRUE.

Error codes

The method returns the following return values.

NameMeaning
S_OK

Success

E_INVALIDARG

The data type is incorrect, must be either VARIANT_TRUE or VARIANT_FALSE.

Remarks

The job generates a default report that it places in the folder associated with context specified when you run the job.

Controls reporting regardless of whether the file management job was scheduled (using the Task Scheduler) or run on demand (using IFsrmFileManagementJob::Run).

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2

DLL

SrmSvc.dll

IID

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

See also

IFsrmFileManagementJob
MSFT_FSRMFileManagementJob

 

 

Show:
© 2015 Microsoft