Click or drag to resize
Task Scheduler Managed Class Library

Task Properties

The Task type exposes the following members.

Properties
  NameDescription
Public propertyDefinition
Gets the definition of the task.
Public propertyEnabled
Gets or sets a Boolean value that indicates if the registered task is enabled.
Public propertyFolder
Gets an instance of the parent folder.
Public propertyIsActive
Gets a value indicating whether this task instance is active.
Public propertyLastRunTime
Gets the time the registered task was last run.
Public propertyCode exampleLastTaskResult
Gets the results that were returned the last time the registered task was run.
Public propertyName
Gets the name of the registered task.
Public propertyNextRunTime
Gets the time when the registered task is next scheduled to run.
Public propertyNumberOfMissedRuns
Gets the number of times the registered task has missed a scheduled run.
Public propertyPath
Gets 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 propertySecurityDescriptor Obsolete.
Gets or sets the security descriptor for the task.
Public propertyState
Gets the operational state of the registered task.
Public propertyTaskService
Gets or sets the TaskService that manages this task.
Public propertyXml
Gets the XML-formatted registration information for the registered task.
Top
See Also