IFsrmReportJob.Run Method (_FsrmReportGenerationContext)
Runs all the reports in 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
context
Type: Microsoft.Storage._FsrmReportGenerationContextSpecifies to which subdirectory the reports are written. For possible values, see the _FsrmReportGenerationContext enumeration.
Remarks
Note that reports that run in the scheduled context remain in the queue for five minutes before they are run; reports that run in the other contexts remain in the queue for 30 seconds.
If you call this method and the report job is already queued or running, the method returns an error. To determine the status of the job, access the RunningStatus property.
See Also
IFsrmReportJob Interface
Microsoft.Storage Namespace
Return to top