ITaskSettings2 interface (taskschd.h)

Provides the extended settings that the Task Scheduler uses to run the task.

Inheritance

The ITaskSettings2 interface inherits from the IDispatch interface.

Methods

The ITaskSettings2 interface has these methods.

 
ITaskSettings2::get_DisallowStartOnRemoteAppSession

Gets or sets a Boolean value that specifies that the task will not be started if triggered to run in a Remote Applications Integrated Locally (RAIL) session. (Get)
ITaskSettings2::get_UseUnifiedSchedulingEngine

Gets or sets a Boolean value that indicates that the Unified Scheduling Engine will be utilized to run this task. (Get)
ITaskSettings2::put_DisallowStartOnRemoteAppSession

Gets or sets a Boolean value that specifies that the task will not be started if triggered to run in a Remote Applications Integrated Locally (RAIL) session. (Put)
ITaskSettings2::put_UseUnifiedSchedulingEngine

Gets or sets a Boolean value that indicates that the Unified Scheduling Engine will be utilized to run this task. (Put)

Remarks

When reading or writing XML for a task, the task settings are defined in the Settings element of the Task Scheduler schema.

Examples

For more information and a code example for this interface, see Time Trigger Example (C++).

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header taskschd.h

See also

IIdleSettings

INetworkSettings

ITaskDefinition