StartSleepCommand.Duration Property

Definition

Allows sleep time to be specified as a TimeSpan.

[System.Management.Automation.Alias(new System.String[] { "ts" })]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="FromTimeSpan", Position=0, ValueFromPipeline=true, ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.ValidateRange(System.Management.Automation.ValidateRangeKind.NonNegative)]
public TimeSpan Duration { get; set; }
[<System.Management.Automation.Alias(new System.String[] { "ts" })>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="FromTimeSpan", Position=0, ValueFromPipeline=true, ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.ValidateRange(System.Management.Automation.ValidateRangeKind.NonNegative)>]
member this.Duration : TimeSpan with get, set
Public Property Duration As TimeSpan

Property Value

Attributes

Applies to