|
|
|
|
SchedulerTriggerProperties (Function) In french: PlanificateurPropriétésHoraire Reads the properties of a trigger of a scheduled task and updates the TriggerScheduledTask structure. Reminder: A trigger allows you to define the events that will start the execution of a task.
// Read the properties of trigger 1 of MyTask SchedulerTriggerProperties("MyTask", 1) Info("The beginning of MyTask task is " + TriggerScheduledTask.BeginDate)
Syntax
<Result> = SchedulerTriggerProperties(<Task name> , <Trigger identifier>)
<Result>: Boolean - True if successful,
- False if an error occurred.
<Task name>: Character string Name of the task associated with the trigger to be retrieved. This name was defined when the task was created by SchedulerAddTask. <Trigger identifier>: Integer Identifier of the trigger to use. This identifier was defined when the trigger was created with SchedulerAddTrigger. Remarks When a trigger is read, the TriggerScheduledTask structure is automatically populated. The TriggerScheduledTask.Caption variable contains the description of the trigger (i.e., the description of the event that will start the task). This variable is read-only. Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|