ITaskVariables interface (taskschd.h)

Defines task variables that can be passed as parameters to task handlers and external executables that are launched by tasks. Task handlers that need to input and output data to job variables should do a query interface on the services pointer for ITaskVariables.

Inheritance

The ITaskVariables interface inherits from the IUnknown interface. ITaskVariables also has these types of members:

Methods

The ITaskVariables interface has these methods.

 
ITaskVariables::GetContext

Used to share the context between different steps and tasks that are in the same job instance.
ITaskVariables::GetInput

Gets the input variables for a task.
ITaskVariables::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]
Target Platform Windows
Header taskschd.h