Click or drag to resize
Task Scheduler Managed Class Library

Task Properties

The Task type exposes the following members.

Properties
 NameDescription
Public propertyDefinitionGets the definition of the task.
Public propertyEnabledGets or sets a Boolean value that indicates if the registered task is enabled.
Public propertyFolderGets an instance of the parent folder.
Public propertyIsActiveGets a value indicating whether this task instance is active.
Public propertyLastRunTimeGets the time the registered task was last run.
Public propertyCode exampleLastTaskResultGets the results that were returned the last time the registered task was run.
Public propertyNameGets the name of the registered task.
Public propertyNextRunTimeGets the time when the registered task is next scheduled to run.
Public propertyNumberOfMissedRunsGets the number of times the registered task has missed a scheduled run.
Public propertyPathGets the path to where the registered task is stored.
Public propertyReadOnly Gets a value indicating whether this task is read only. Only available if AllowReadOnlyTasks is true.
Public propertySecurityDescriptorObsolete.
Gets or sets the security descriptor for the task.
Public propertyStateGets the operational state of the registered task.
Public propertyTaskServiceGets or sets the TaskService that manages this task.
Public propertyXmlGets the XML-formatted registration information for the registered task.
Top
See Also