ITaskSettings2::get_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 get_DisallowStartOnRemoteAppSession(
VARIANT_BOOL *pDisallowStart
);
Parameters
pDisallowStart
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
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 |
Library | Taskschd.lib |
DLL | Taskschd.dll |