| 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
)
Public Function Add (
job As IJob,
repeatOn As DayOfWeek(),
startDate As DateTime,
Optional stopDate As DateTime? = Nothing
) As IJobSchedule
public:
virtual IJobSchedule^ Add(
IJob^ job,
array<DayOfWeek>^ repeatOn,
DateTime startDate,
Nullable<DateTime> stopDate = nullptr
) sealed
abstract Add :
job : IJob *
repeatOn : DayOfWeek[] *
startDate : DateTime *
?stopDate : Nullable<DateTime>
(* Defaults:
let _stopDate = defaultArg stopDate null
*)
-> IJobSchedule
override 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.XmlFileJobScheduleManager.Add(SanteDB.Core.Jobs.IJob,System.DayOfWeek[],System.DateTime,System.Nullable{System.DateTime})"]
Implements
IJobScheduleManagerAdd(IJob, DayOfWeek, DateTime, NullableDateTime)See Also