IFsrmReportJob::Run method (fsrmreports.h)
Runs all the reports in the job.
Syntax
HRESULT Run(
[in] FsrmReportGenerationContext context
);
Parameters
[in] context
Specifies to which subdirectory the reports are written. For possible values, see the FsrmReportGenerationContext enumeration.
Return value
The method returns the following return values.
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 IFsrmReportJob::RunningStatus property.
Examples
For an example, see Running a Report Job.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows ServerĀ 2008 |
Target Platform | Windows |
Header | fsrmreports.h |
DLL | SrmSvc.dll |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for