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.
Specifies the task settings the Task scheduler will use to start task during Automatic maintenance.
For C++ programming, this idle setting is specified using the IMaintenanceSettings::Exclusive property.
The following XML defines maintenance task with deadline requirement set to 15 days.
<MaintenanceSettings> <Period>P5D</Period> <Deadline>P15D</Deadline> <Exclusive>true</Exclusive> </MaintenanceSettings>
Minimum supported client
Windows 8 [desktop apps only]
Minimum supported server
Windows Server 2012 [desktop apps only]