ITaskSettings2::put_DisallowStartOnRemoteAppSession method (taskschd.h)

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.

This property is read/write.

Syntax

HRESULT put_DisallowStartOnRemoteAppSession(
  VARIANT_BOOL disallowStart
);

Parameters

disallowStart

Return value

None

Remarks

When reading or writing XML for a task, this setting is specified in the DisallowStartOnRemoteAppSession element of the Task Scheduler schema.

Requirements

   
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header taskschd.h
Library Taskschd.lib
DLL Taskschd.dll

See also

ITaskSettings2

Task Scheduler