TaskVariables object

Scripting object that defines task variables that can be passed as parameters to task handlers and external executables that are launched by tasks.

Members

The TaskVariables object has these types of members:

Methods

The TaskVariables object has these methods.

Method Description
GetContext Used to share the context between different steps and tasks that are in the same job instance.
GetInput Gets the input variables for a task.
SetOutput Sets the output variables for a task.

Requirements

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