DisallowStartOnRemoteAppSession Property
Collapse the table of content
Expand the table of content

ITaskSettings2::DisallowStartOnRemoteAppSession property

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(
  [in]          VARIANT_BOOL disallowStart
);

HRESULT get_DisallowStartOnRemoteAppSession(
  [out, retval] VARIANT_BOOL *pDisallowStart
);

Property value

If True, the task will not be started if triggered to run in a RAIL session. The default is False.

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]

Header

Taskschd.h

IDL

Taskschd.idl

Library

Taskschd.lib

DLL

Taskschd.dll

See also

Task Scheduler
ITaskSettings2

 

 

Community Additions

ADD
Show:
© 2016 Microsoft