ITaskSettings2 interface

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

Members

The ITaskSettings2 interface inherits from the IDispatch interface. ITaskSettings2 also has these types of members:

Properties

The ITaskSettings2 interface has these properties.

PropertyAccess typeDescription

DisallowStartOnRemoteAppSession

Read/write

Gets or sets a Boolean value that indicates that the task will not be started if the task is triggered to run in a Remote Applications Integrated Locally (RAIL) session.

UseUnifiedSchedulingEngine

Read/write

Gets or sets a Boolean value that indicates that the Unified Scheduling Engine will run this task.

 

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

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Taskschd.h

IDL

Taskschd.idl

Library

Taskschd.lib

DLL

Taskschd.dll

See also

ITaskDefinition
INetworkSettings
IIdleSettings

 

 

Show: