Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
ITaskSettings::get_AllowDemandStart method (taskschd.h)
Gets or sets a Boolean value that indicates that the task can be started by using either the Run command or the Context menu.
This property is read/write.
Syntax
HRESULT get_AllowDemandStart(
VARIANT_BOOL *pAllowDemandStart
);
Parameters
pAllowDemandStart
Return value
None
Remarks
When this property is set to True, the task can be started independent of when any triggers start the task.
When reading or writing XML for a task, this setting is specified in the AllowStartOnDemand element of the Task Scheduler schema.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Target Platform | Windows |
| Header | taskschd.h |
| Library | Taskschd.lib |
| DLL | Taskschd.dll |
See also
Feedback
Was this page helpful?
