MaintenanceSettingsExclusive Property

Gets or sets a value indicating 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.

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.0
[DefaultValueAttribute(false)]
public bool Exclusive { get; set; }

Property Value

Boolean

Exceptions

NotSupportedPriorToExceptionProperty set for a task on a Task Scheduler version prior to 2.2.

See Also