| IJobScheduleManagerAdd Method (IJob, TimeSpan, NullableDateTime) |
Add a schedule which repeats at interval on job
Namespace:
SanteDB.Core.Jobs
Assembly:
SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax IJobSchedule Add(
IJob job,
TimeSpan interval,
DateTime? stopDate = null
)
Function Add (
job As IJob,
interval As TimeSpan,
Optional stopDate As DateTime? = Nothing
) As IJobSchedule
IJobSchedule^ Add(
IJob^ job,
TimeSpan interval,
Nullable<DateTime> stopDate = nullptr
)
abstract Add :
job : IJob *
interval : TimeSpan *
?stopDate : Nullable<DateTime>
(* Defaults:
let _stopDate = defaultArg stopDate null
*)
-> IJobSchedule
Parameters
- job
- Type: SanteDB.Core.JobsIJob
The job to add the schedule to - interval
- Type: SystemTimeSpan
The interval to fire the job - stopDate (Optional)
- Type: SystemNullableDateTime
The stop date
Return Value
Type:
IJobSchedule[Missing <returns> documentation for "M:SanteDB.Core.Jobs.IJobScheduleManager.Add(SanteDB.Core.Jobs.IJob,System.TimeSpan,System.Nullable{System.DateTime})"]
See Also