ScheduledJobOptionCmdletBase.IdleDuration Property
Gets or sets the IdleDuration
cmdlet parameter value, which controls how long the computer needs to be idle before a triggered job task is started. This SDK programming element is introduced in Windows PowerShell 3.0.
Namespace: Microsoft.PowerShell.ScheduledJob
Assembly: Microsoft.PowerShell.ScheduledJob (in Microsoft.PowerShell.ScheduledJob.dll)
Usage
'Usage
Dim instance As ScheduledJobOptionCmdletBase
Dim value As TimeSpan
value = instance.IdleDuration
instance.IdleDuration = value
Syntax
'Declaration
<ParameterAttribute(ParameterSetName:="Options")> _
Public Property IdleDuration As TimeSpan
[ParameterAttribute(ParameterSetName="Options")]
public TimeSpan IdleDuration { get; set; }
[ParameterAttribute(ParameterSetName=L"Options")]
public:
property TimeSpan IdleDuration {
TimeSpan get ();
void set (TimeSpan value);
}
/** @property */
public TimeSpan get_IdleDuration ()
/** @property */
public void set_IdleDuration (TimeSpan value)
public function get IdleDuration () : TimeSpan
public function set IdleDuration (value : TimeSpan)
Property Value
Returns TimeSpan.
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
ScheduledJobOptionCmdletBase Class
ScheduledJobOptionCmdletBase Members
Microsoft.PowerShell.ScheduledJob Namespace