Exclusive Element
Indicates whether the Task scheduler must start the task during the Automatic maintenance in exclusive mode.
The exclusivity is guaranteed only between other maintenance tasks and doesn't grant any ordering priority of the task. If exclusivity is not specified, the task is started in parallel with other maintenance tasks.
<xs:element name="Exclusive"
type="xsd:boolean"
maxOccurs="1"
minOccurs="0"
/>
The Exclusive element is defined by the maintenanceSettingsType complex type.
Parent element
Element | Derived from | Description |
---|---|---|
MaintenanceSettings (maintenanceSettingsType) | maintenanceSettingsType | Specifies the task settings the Task scheduler will use to start task during Automatic maintenance. |
Remarks
For C++ programming, this idle setting is specified using the IMaintenanceSettings::Exclusive property.
Examples
The following XML defines maintenance task with deadline requirement set to 15 days.
<MaintenanceSettings>
<Period>P5D</Period>
<Deadline>P15D</Deadline>
<Exclusive>true</Exclusive>
</MaintenanceSettings>
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 8 [desktop apps only] |
Minimum supported server |
Windows Server 2012 [desktop apps only] |