StartSleepCommand.Duration Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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