RunningTask.State property
For scripting, gets an identifier for the state of the running task.
This property is read-only.
Syntax
RunningTask.State As String
Property value
An identifier for the state of the running task.
Value | Meaning |
---|---|
|
The state of the task is unknown. |
|
The task is registered but is disabled and no instances of the task are queued or running. The task cannot be run until it is enabled. |
|
Instances of the task are queued. |
|
The task is ready to be executed, but no instances are queued or running. |
|
One or more instances of the task are running. |
Remarks
The RunningTask.Refresh method is called before the property value is returned.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Type library |
|
DLL |
|