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