Click or drag to resize

XmlFileJobScheduleManagerAdd Method (IJob, DayOfWeek, DateTime, NullableDateTime)

Add a job schedule to job that repeats on repeatOn starting startDate

Namespace:  SanteDB.Core.Jobs
Assembly:  SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax
public IJobSchedule Add(
	IJob job,
	DayOfWeek[] repeatOn,
	DateTime startDate,
	DateTime? stopDate = null
)

Parameters

job
Type: SanteDB.Core.JobsIJob
The job to add the schedule to
repeatOn
Type: SystemDayOfWeek
Repeat on days of week
startDate
Type: SystemDateTime
The start date and time of the schedule
stopDate (Optional)
Type: SystemNullableDateTime
The date to stop the schedule

Return Value

Type: IJobSchedule

[Missing <returns> documentation for "M:SanteDB.Core.Jobs.XmlFileJobScheduleManager.Add(SanteDB.Core.Jobs.IJob,System.DayOfWeek[],System.DateTime,System.Nullable{System.DateTime})"]

Implements

IJobScheduleManagerAdd(IJob, DayOfWeek, DateTime, NullableDateTime)
See Also