SetJobTriggerCommand.RepetitionDuration Property
Gets or sets how long the repetition pattern is repeated. This property represents the RepetitionDuration 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.RepetitionDuration
instance.RepetitionDuration = value
Syntax
'Declaration
<ParameterAttribute(ParameterSetName:="DefaultParams")> _
Public Property RepetitionDuration As TimeSpan
[ParameterAttribute(ParameterSetName="DefaultParams")]
public TimeSpan RepetitionDuration { get; set; }
[ParameterAttribute(ParameterSetName=L"DefaultParams")]
public:
property TimeSpan RepetitionDuration {
TimeSpan get ();
void set (TimeSpan value);
}
/** @property */
public TimeSpan get_RepetitionDuration ()
/** @property */
public void set_RepetitionDuration (TimeSpan value)
public function get RepetitionDuration () : TimeSpan
public function set RepetitionDuration (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