RegisteredTask.LastTaskResult property

For scripting, gets the results that were returned the last time the registered task was run.

Syntax

RegisteredTask.LastTaskResult As String

Property value

The results that were returned the last time the registered task was run.

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Type library
Taskschd.tlb
DLL
Taskschd.dll

See also

Task Scheduler

RegisteredTask