Task Properties |
The Task type exposes the following members.
| Name | Description | |
|---|---|---|
| Definition | Gets the definition of the task. | |
| Enabled | Gets or sets a Boolean value that indicates if the registered task is enabled. | |
| Folder | Gets an instance of the parent folder. | |
| IsActive | Gets a value indicating whether this task instance is active. | |
| LastRunTime | Gets the time the registered task was last run. | |
| LastTaskResult | Gets the results that were returned the last time the registered task was run. | |
| Name | Gets the name of the registered task. | |
| NextRunTime | Gets the time when the registered task is next scheduled to run. | |
| NumberOfMissedRuns | Gets the number of times the registered task has missed a scheduled run. | |
| Path | Gets the path to where the registered task is stored. | |
| ReadOnly | Gets a value indicating whether this task is read only. Only available if AllowReadOnlyTasks is true. | |
| SecurityDescriptor | Obsolete. Gets or sets the security descriptor for the task. | |
| State | Gets the operational state of the registered task. | |
| TaskService | Gets or sets the TaskService that manages this task. | |
| Xml | Gets the XML-formatted registration information for the registered task. |