IAdmScheduledTask2
The IAdmScheduledTask2 interface extends the IAdmScheduledTask interface with the possibility to specify the Adaxes service on which a scheduled task will be executed and abort execution of a running scheduled task.
Inheritance: IAdmScheduledTask
Methods
-
Method
-
Description
-
Abort()
-
Aborts execution of the scheduled task.
Properties
-
Property
-
Description
-
OwnerServiceDnsHostName
-
Gets or sets the DNS host name of the Adaxes service instance on which the scheduled task is executed.
-
IsOwnerServicePermanent
-
If the property is set to TRUE, the scheduled task will always be run on the Adaxes service instance specified in the OwnerServiceDnsHostName property and will never be reassigned to another instance.
-
LastRunStartDateTime
-
Gets the date and time when execution of the scheduled task was last started.
-
LastRunFinishDateTime
-
Gets the date and time when the scheduled task was last completed.
Details
Abort()
Aborts execution of the scheduled task. If the scheduled task is not running at the moment, the method does nothing.
void Abort()
OwnerServiceDnsHostName
Gets or sets the DNS host name of the Adaxes service instance on which the scheduled task is executed.
- Type:
- String
- Access:
- Read/Write
Remarks
If the property is set to NULL, the Adaxes service instance will be selected automatically.
IsOwnerServicePermanent
If the property is set to TRUE, the scheduled task will always be run on the Adaxes service instance specified by the OwnerServiceDnsHostName property and will never be reassigned to another instance.
- Type:
- Boolean
- Access:
- Read/Write
LastRunStartDateTime
Gets the date and time when execution of the scheduled task was last started.
- Type:
- DateTime
- Access:
- Read-only
Remarks
- If the scheduled task was never started, the property gets DateTime.MinValue.
- The property gets the date and time in the local time zone of the computer where Adaxes service is running.
LastRunFinishDateTime
Gets the date and time when the scheduled task was last completed.
- Type:
- DateTime
- Access:
- Read-only
Remarks
- If the scheduled task execution was started, but has not yet completed, the property gets DateTime.MinValue.
- The property gets the date and time in the local time zone of the computer where Adaxes service is running.
Requirements
Minimum required version: 2013.2