 | UpstreamJobManagerAdd(IJob, TimeSpan, NullableDateTime) Method |
Add a schedule which repeats at interval on job
Namespace: SanteDB.Client.Upstream.ManagementAssembly: SanteDB.Client (in SanteDB.Client.dll) Version: 3.0.2081-alpha+027e4605b77f83de5445cbcd55717223932d2452
Syntaxpublic 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 IJob
- The job to add the schedule to
- interval TimeSpan
- The interval to fire the job
- stopDate NullableDateTime (Optional)
- The stop date
Return Value
IJobSchedule[Missing <returns> documentation for "M:SanteDB.Client.Upstream.Management.UpstreamJobManager.Add(SanteDB.Core.Jobs.IJob,System.TimeSpan,System.Nullable{System.DateTime})"]
Implements
IJobScheduleManagerAdd(IJob, TimeSpan, NullableDateTime)
See Also