Exago .NET API Documentation
GetApiReportScheduleInfoListByName Method
Example 
WebReports.Api.Scheduler Namespace > ReportScheduler Class : GetApiReportScheduleInfoListByName Method
The name of the schedule to retrieve the SchedulerListInfos for.
Retrieves a list of ApiReportScheduleInfo objects based on the schedule name (the same as the Schedule Name column in the user interface Schedule Manager). (Similar to GetFirstApiReportScheduleInfoByScheduleName Method).
Syntax
public System.Collections.Generic.List<ApiReportScheduleInfo> GetApiReportScheduleInfoListByName( 
   System.string scheduleName
)

Parameters

scheduleName
The name of the schedule to retrieve the SchedulerListInfos for.

Return Value

List of ApiReportScheduleInfo
Example
Retrieve a list of schedules with the name "Sam I am2", iterate through them making aribtrary changes and save the changes to the Scheduler Service.
List <ApiReportScheduleInfo> y = reportScheduler.GetApiReportScheduleInfoListByName("Sam I am2");
foreach (ApiReportScheduleInfo z in y)
{
	var x = z.reportScheduleInfo;
	var id = z.jobId;
	//Make changes
	reportScheduler.UpdateExistingSchedule(x, id);
}
See Also

Reference

ReportScheduler Class
ReportScheduler Members