| 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
)
Function Add (
job As IJob,
repeatOn As DayOfWeek(),
startDate As DateTime,
Optional stopDate As DateTime? = Nothing
) As IJobSchedule
IJobSchedule^ Add(
IJob^ job,
array<DayOfWeek>^ repeatOn,
DateTime startDate,
Nullable<DateTime> stopDate = nullptr
)
abstract Add :
job : IJob *
repeatOn : DayOfWeek[] *
startDate : DateTime *
?stopDate : Nullable<DateTime>
(* Defaults:
let _stopDate = defaultArg stopDate null
*)
-> IJobSchedule
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