共用方式為


IFsrmFileManagementJob.ReportEnabled Property

 

Retrieves or sets a value that indicates whether the job will generate a report when it runs.

Namespace:   Microsoft.Storage
Assembly:  srmlib (in srmlib.dll)

Syntax

bool ReportEnabled { get; set; }
property bool ReportEnabled {
    bool get();
    void set(bool value);
}
abstract ReportEnabled : bool with get, set
Property ReportEnabled As Boolean

Property Value

Type: System.Boolean

Set to true to enable reporting; otherwise, false. The default is true.

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 Run).

See Also

IFsrmFileManagementJob Interface
Microsoft.Storage Namespace

Return to top