Exago .NET API Documentation
GetReportScheduleInfoByJobId Method
Example 
WebReports.Api.Scheduler Namespace > ReportScheduler Class : GetReportScheduleInfoByJobId Method
jobId that uniquely identifies a schedule

Returns the ReportScheduleInfo with the jobId provided. If none is found, an exception is thrown

Syntax
public ReportScheduleInfo GetReportScheduleInfoByJobId( 
   System.string jobId
)

Parameters

jobId
jobId that uniquely identifies a schedule

Return Value

ReportScheduleInfo that matches the jobId provided
Exceptions
ExceptionDescription
An exception is thrown if the job ID cannot be found on any of the available Scheduler Service hosts.
Example
Retrieve a job by it's job ID, make arbitrary changes and then save those changes back to the Scheduler Service.
var x = reportScheduler.GetReportScheduleInfoByJobId(@"c3a7ea8d-ebf2-477b-bbb3-8d8c44d1a39c");
//Perform operations on x
reportScheduler.UpdateExistingSchedule(x, "@c3a7ea8d-ebf2-477b-bbb3-8d8c44d1a39c");
See Also

Reference

ReportScheduler Class
ReportScheduler Members