Windows desktop applications
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ScheduledJobTrigger.RepetitionInterval Property

Gets or sets the amount of time between each restart of the job. Introduced in Windows PowerShell 3.0.

Namespace: Microsoft.PowerShell.ScheduledJob
Assembly: Microsoft.PowerShell.ScheduledJob (in Microsoft.PowerShell.ScheduledJob.dll)

Dim instance As ScheduledJobTrigger
Dim value As Nullable(Of TimeSpan)

value = instance.RepetitionInterval

instance.RepetitionInterval = value

public Nullable<TimeSpan> RepetitionInterval { get; set; }
/** @property */
public Nullable<TimeSpan> get_RepetitionInterval ()

/** @property */
public void set_RepetitionInterval (Nullable<TimeSpan> value)

public function get RepetitionInterval () : Nullable<TimeSpan>

public function set RepetitionInterval (value : Nullable<TimeSpan>)

Property Value

Returns TimeSpan.

If you specify a repetition duration for a task, you must also specify the repetition interval.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


Target Platforms

© 2016 Microsoft