Exago .NET API Documentation
GetJobStatus Method (ReportScheduler)
Example 
WebReports.Api.Scheduler Namespace > ReportScheduler Class : GetJobStatus Method
The 0-based index of the Scheduler Service in the configuration.
The job ID to check the status of.
Retrieve the status of a scheduled report job, by providing the index of the Scheduler Service host and the job's ID.
Syntax
public ExecuteStatusData GetJobStatus( 
   System.int hostIdx,
   System.Guid jobId
)

Parameters

hostIdx
The 0-based index of the Scheduler Service in the configuration.
jobId
The job ID to check the status of.

Return Value

An ExecuteStatusData object, where the job's status can be determined by checking its JobStatus property.
Example
Get the status of the first job in the list with the name "AV"
WebReports.Api.Execute.ExecuteStatusData es = rs.GetJobStatus(0, Guid.Parse(rs.GetApiReportScheduleInfoListByName("AV")[0].jobId));
See Also

Reference

ReportScheduler Class
ReportScheduler Members