Exago .NET API Documentation
ReportScheduler Property
WebReports.Api Namespace > Api Class : ReportScheduler Property
Provides access to scheduled report executions by means of a ReportScheduler object. The API object's ReportScheduler object provides access to all Scheduler Service hosts and jobs in the system configuration, despite its singular name.
public ReportScheduler ReportScheduler {get;}
Create a daily schedule that runs 30 times.
//Construct the e-mail destination
SchedulerEmailInfo ei = new SchedulerEmailInfo();
List<string> addresses = new List<string>();
ei.toAddrs = addresses;
ei.subject = "Report";
ei.body = "Here is the report you needed.";

//Build the schedule
ReportScheduler rs = api.ReportScheduler;
rs.CreateDailySchedule(reportName, true, 0, new DateTime(), true, 30, null, ei);
See Also


Api Class
Api Members