 | UpstreamJobManagerSetJobSchedule(IJob, DayOfWeek, DateTime) Method |
Schedule a job to start at a specific time with a specific repetition
Namespace: SanteDB.Client.Upstream.ManagementAssembly: SanteDB.Client (in SanteDB.Client.dll) Version: 3.0.2081-alpha+027e4605b77f83de5445cbcd55717223932d2452
Syntaxpublic IJobSchedule SetJobSchedule(
IJob job,
DayOfWeek[] daysOfWeek,
DateTime scheduleTime
)
Public Function SetJobSchedule (
job As IJob,
daysOfWeek As DayOfWeek(),
scheduleTime As DateTime
) As IJobSchedule
public:
virtual IJobSchedule^ SetJobSchedule(
IJob^ job,
array<DayOfWeek>^ daysOfWeek,
DateTime scheduleTime
) sealed
abstract SetJobSchedule :
job : IJob *
daysOfWeek : DayOfWeek[] *
scheduleTime : DateTime -> IJobSchedule
override SetJobSchedule :
job : IJob *
daysOfWeek : DayOfWeek[] *
scheduleTime : DateTime -> IJobSchedule Parameters
- job IJob
- The job to set the schedule for
- daysOfWeek DayOfWeek
- The days of the week that the job should start on
- scheduleTime DateTime
- The start date of the schedule (note: if daysOfWeek is empty then this is the only run time, otherwise the schedule starts on the Date in the date time at the Time on the date time every day of week)
Return Value
IJobScheduleThe job schedule that has been set
Implements
IJobManagerServiceSetJobSchedule(IJob, DayOfWeek, DateTime)
See Also