Rediger

Del via


DisallowStartOnRemoteAppSession (settingsType) Element

Specifies that the task will not be started if triggered to run in a Remote Applications Integrated Locally (RAIL) session.

<xs:element name="DisallowStartOnRemoteAppSession"
    type="boolean"
    default="false"
    minOccurs="0"
 />

The DisallowStartOnRemoteAppSession element is defined by the settingsType complex type.

Parent element

Element Derived from Description
Settings settingsType Contains the settings that the Task Scheduler uses to perform the task.

Remarks

The default setting for this element is False.

For C++ development, this information is accessed through the ITaskSettings2::DisallowStartOnRemoteAppSession property.

Examples

The following XML defines a settings element that does not allow the task to start if the task is triggered to run in a RAIL session.

<Settings>
    <DisallowStartOnRemoteAppSession>true</DisallowStartOnRemoteAppSession>
</Settings>
        

Requirements

Requirement Value
Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]

See also

Task Scheduler Schema Elements