Exago .NET API Documentation
CreateImmediateSchedule Method
WebReports.Api.Scheduler Namespace > ReportScheduler Class : CreateImmediateSchedule Method
A friendly name that will appear in the Schedule Name column of the  Schedule Manager.
SchedulerEmailInfo object with Information on email addresses, subject and body. If null, the report output will be instead be saved to the <report_path> in the Scheduler Service's configuration file.
Schedule the Api object's active report to be executed immediately.
Syntax
public System.string CreateImmediateSchedule( 
   System.string name,
   SchedulerEmailInfo emailInfo
)

Parameters

name
A friendly name that will appear in the Schedule Name column of the  Schedule Manager.
emailInfo
SchedulerEmailInfo object with Information on email addresses, subject and body. If null, the report output will be instead be saved to the <report_path> in the Scheduler Service's configuration file.

Return Value

jobId string that uniquely identifies the newly created job
See Also

Reference

ReportScheduler Class
ReportScheduler Members