Exago .NET API Documentation
SetRecurrencePatternWeekly Method
WebReports.Api.Scheduler Namespace > ReportScheduler Class : SetRecurrencePatternWeekly Method
ReportScheduleInfo to be edited
The number of weeks inbetween executions of the job
The day or days of each week on which the schedule runs, used in conjunction with ordinal. Use one of the ReportScheduleInfo.DayOfWeekType Enumeration members.
Convenience method that sets the provided ReportScheduleInfo's RecurrencePattern to Weekly with provided parameters.
Syntax
public ReportScheduleInfoWeekly SetRecurrencePatternWeekly( 
   ReportScheduleInfo scheduleInfo,
   System.int everyNWeeks,
   System.bool[] dayOfWeek
)

Parameters

scheduleInfo
ReportScheduleInfo to be edited
everyNWeeks
The number of weeks inbetween executions of the job
dayOfWeek
The day or days of each week on which the schedule runs, used in conjunction with ordinal. Use one of the ReportScheduleInfo.DayOfWeekType Enumeration members.

Return Value

ReportScheduleInfoWeekly Modified ReportScheduleInfo with the Recurrence pattern set to weekly
See Also

Reference

ReportScheduler Class
ReportScheduler Members