Click or drag to resize

AdoJobManagerAdd(IJob, DayOfWeek, DateTime, NullableDateTime) Method

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

Namespace: SanteDB.Persistence.Data.Services
Assembly: SanteDB.Persistence.Data (in SanteDB.Persistence.Data.dll) Version: 3.0.2081-alpha+be3dca7062b437ed047a057127f85f12119224b9
Syntax
public IJobSchedule Add(
	IJob job,
	DayOfWeek[] repeatOn,
	DateTime startDate,
	DateTime? stopDate = null
)

Parameters

job  IJob
The job to add the schedule to
repeatOn  DayOfWeek
Repeat on days of week
startDate  DateTime
The start date and time of the schedule
stopDate  NullableDateTime  (Optional)
The date to stop the schedule

Return Value

IJobSchedule

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

Implements

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