MaintenanceSettingsPeriod Property

Gets or sets the amount of time the task needs to be started during Automatic maintenance. The minimum value is one minute.

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
[DefaultValueAttribute(typeof(TimeSpan), "00:00:00")]
public TimeSpan Period { get; set; }

Property Value

TimeSpan

Exceptions

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

See Also