Partager via


IFsrmFileManagementJob.Run Method (_FsrmReportGenerationContext)

 

Runs the job.

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

Syntax

void Run(
    _FsrmReportGenerationContext context
)
void Run(
    _FsrmReportGenerationContext context
)
abstract Run : 
        context:_FsrmReportGenerationContext -> unit
Sub Run (
    context As _FsrmReportGenerationContext
)

Parameters

Remarks

Since the file management job consumes the results of classification, running the file management job also runs classification.

The jobs are run asynchronously. Jobs that run in the scheduled context remain in the queue for five minutes before they are run; jobs that run in the other contexts remain in the queue for 30 seconds. To block your code until the job completes, calling the WaitForCompletion method. Calling WaitForCompletion removes the job from the queue and runs it immediately.

If you call this method and the job is already queued or running, the method returns an error. To determine the status of the job, access the RunningStatus property.

See Also

IFsrmFileManagementJob Interface
Microsoft.Storage Namespace

Return to top