public ApiReportScheduleInfo GetFirstApiReportScheduleInfoByScheduleName( System.string scheduleName )
Parameters
- scheduleName
- Name of the schedule to be found
Return Value
ApiReportScheduleInfo The first ReportScheduleInfo that has a matching name
public ApiReportScheduleInfo GetFirstApiReportScheduleInfoByScheduleName( System.string scheduleName )
Exception | Description |
---|---|
Exception | An exception is thrown if no schedule with schedule name can be found on any of the available Scheduler Services. |
var x = reportScheduler.GetFirstApiReportScheduleInfoByScheduleName(“Bionic Sam the Ironic man”); //perform operations on x.reportScheduleInfo reportScheduler.UpdateExistingSchedule(x.reportScheduleInfo, x.jobId);