SetJobTriggerCommand.RepetitionInterval Property

Gets or sets the amount of time between each restart of the job. This property represents the RepetitionInterval cmdlet parameter.

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

Usage

'Usage
Dim instance As SetJobTriggerCommand
Dim value As TimeSpan

value = instance.RepetitionInterval

instance.RepetitionInterval = value

Syntax

'Declaration
<ParameterAttribute(ParameterSetName:="DefaultParams")> _
Public Property RepetitionInterval As TimeSpan
[ParameterAttribute(ParameterSetName="DefaultParams")] 
public TimeSpan RepetitionInterval { get; set; }
[ParameterAttribute(ParameterSetName=L"DefaultParams")] 
public:
property TimeSpan RepetitionInterval {
    TimeSpan get ();
    void set (TimeSpan value);
}
/** @property */
public TimeSpan get_RepetitionInterval ()

/** @property */
public void set_RepetitionInterval (TimeSpan value)
public function get RepetitionInterval () : TimeSpan

public function set RepetitionInterval (value : TimeSpan)

Property Value

Returns TimeSpan.

Remarks

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

Thread Safety

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

Platforms

Target Platforms

See Also

Reference

SetJobTriggerCommand Class
SetJobTriggerCommand Members
Microsoft.PowerShell.ScheduledJob Namespace