Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Provides the extended settings that the Task Scheduler uses to run the task.
The ITaskSettings2 interface inherits from the IDispatch interface.
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) |
When reading or writing XML for a task, the task settings are defined in the Settings element of the Task Scheduler schema.
For more information and a code example for this interface, see Time Trigger Example (C++).
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 |
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today