Exago .NET API Documentation
CreateOnceScheduleByDateTime Method
WebReports.Api.Scheduler Namespace > ReportScheduler Class : CreateOnceScheduleByDateTime Method

The date that this one-off schedule will execute.

If schedTime is null, Exago will use the time component of this value to determine what time to execute the schedule.
A friendly name that will appear in the Schedule Name column of the  Schedule Manager.
The time to run the schedule. If no value is provided or the value is null, the Scheduler Service's will look to the time portion of the rangeStartDate or schedDateTime argument instead.
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 run only a single time.

Syntax
public System.string CreateOnceScheduleByDateTime( 
   System.DateTime schedDateTime,
   System.string name,
   System.Nullable<TimeSpan> schedTime,
   SchedulerEmailInfo emailInfo
)

Parameters

schedDateTime

The date that this one-off schedule will execute.

If schedTime is null, Exago will use the time component of this value to determine what time to execute the schedule.
name
A friendly name that will appear in the Schedule Name column of the  Schedule Manager.
schedTime
The time to run the schedule. If no value is provided or the value is null, the Scheduler Service's will look to the time portion of the rangeStartDate or schedDateTime argument instead.
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