Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies that the task can be started using either the Run command or the Context menu.
<xs:element name="AllowStartOnDemand"
type="boolean"
minOccurs="0"
default="true"
/>
The AllowStartOnDemand 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
When this element is set to True, the task can be started independently of when any triggers start the task.
For C++ development, see the AllowDemandStart property of ITaskSettings.
For script development, see TaskSettings.AllowDemandStart.
Examples
For a complete example of the XML for a task that allows demand start, see Time Trigger Example (XML).
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |