Exago .NET API Documentation
GetFirstApiReportScheduleInfoByScheduleName Method
Example 
WebReports.Api.Scheduler Namespace > ReportScheduler Class : GetFirstApiReportScheduleInfoByScheduleName Method
Name of the schedule to be found
Retrieves the first schedule job with the matching name, since schedule names are not required to be unique. To retrieve a list of matching schedules by name, use the GetApiReportScheduleInfoListByName Method instead.
Syntax
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
Exceptions
ExceptionDescription
An exception is thrown if no schedule with schedule name can be found on any of the available Scheduler Services.
Example
Retrieve the first schedule found wiht the name "Bionic Sam the Ironic Man", make aribtrary changes to it and sabe those changes back to the Scheduler Service
var x = reportScheduler.GetFirstApiReportScheduleInfoByScheduleName(“Bionic Sam the Ironic man”);
//perform operations on x.reportScheduleInfo
reportScheduler.UpdateExistingSchedule(x.reportScheduleInfo, x.jobId);
See Also

Reference

ReportScheduler Class
ReportScheduler Members