Click or drag to resize

IJobScheduleManagerAdd 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
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.IJobScheduleManager.Add(SanteDB.Core.Jobs.IJob,System.DayOfWeek[],System.DateTime,System.Nullable{System.DateTime})"]

See Also