Exago .NET API Documentation
GetJobList Method (ReportScheduler)
Example 
WebReports.Api.Scheduler Namespace > ReportScheduler Class : GetJobList Method
A list of any exceptions that occurred while adding Scheduler Service hosts to the outer list. For example, if a service is unavailble.'
Retrieve a list of Scheduler Service jobs, organized by Scheduler Service host.
Syntax
public System.Collections.Generic.List<List<JobInfo>> GetJobList( 
   out System.Collections.Generic.List<Exception> exceptions
)

Parameters

exceptions
A list of any exceptions that occurred while adding Scheduler Service hosts to the outer list. For example, if a service is unavailble.'

Return Value

A list of jobs organized into a list of Scheduler Service hosts. That is to say, the outer list is a list of Scheduler Service hosts and the inner list is a list of jobs that run on that host.
Remarks
The out keyword passes the exceptionsList by reference, not by value.
Example
Iterate through the list of all Scheduler Service jobs and delete any jobs belonging to a certain user based on the value of the @userId@ and @companyId@ parameters
ReportScheduler rs = api.ReportScheduler;

List<Exception> exceptionsList;
List<List<JobInfo>> jobsList = rs.GetJobList(out exceptionsList);

foreach (List<JobInfo> jobList in jobsList)
{
	foreach (JobInfo job in jobList)
	{
		if (job.UserId == api.Parameters.GetParameter("userId").Value && job.CompanyId == api.Parameters.GetParameter("companyId").Value)
		{
			rs.DeleteSchedulerJob(job.JobId.ToString());
		}
	}
}
See Also

Reference

ReportScheduler Class
ReportScheduler Members