 | RepetitionPatternInterval Property |
Gets or sets the amount of time between each restart of the task.
Namespace:
Microsoft.Win32.TaskScheduler
Assembly:
Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.10.1
Syntaxpublic TimeSpan Interval { get; set; }
Public Property Interval As TimeSpan
Get
Set
public:
property TimeSpan Interval {
TimeSpan get ();
void set (TimeSpan value);
}
Request Example
View SourceProperty Value
Type:
TimeSpan
The amount of time between each restart of the task. The maximum time allowed is 31 days, and the minimum time allowed is 1 minute.
Exceptions
RemarksIf you specify a repetition duration for a task, you must also specify the repetition interval.
See Also