Enabled (settingsType) Element
Specifies that the task is enabled. The task can be performed only when this setting is True.
<xs:element name="Enabled"
type="boolean"
default="true"
minOccurs="1"
/>
The Enabled 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
For C++ development, see Enabled Property of ITaskSettings.
For script development, see TaskSettings.Enabled.
Examples
For a complete example of the XML for a task that is enabled, 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] |