 | IJobScheduleManagerAdd(IJob, DayOfWeek, DateTime, NullableDateTime) Method |
Add a job schedule to job that repeats on repeatOn starting startDate
Namespace: SanteDB.Core.JobsAssembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
SyntaxIJobSchedule 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 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.Core.Jobs.IJobScheduleManager.Add(SanteDB.Core.Jobs.IJob,System.DayOfWeek[],System.DateTime,System.Nullable{System.DateTime})"]
See Also