共用方式為


RestartComputerCommand.For Property

Definition

Specify the For parameter. Wait for the specific service before unblocking the prompt.

public:
 property Microsoft::PowerShell::Commands::WaitForServiceTypes For { Microsoft::PowerShell::Commands::WaitForServiceTypes get(); void set(Microsoft::PowerShell::Commands::WaitForServiceTypes value); };
public:
 property Microsoft::PowerShell::Commands::WaitForServiceTypes For { Microsoft::PowerShell::Commands::WaitForServiceTypes get(); void set(Microsoft::PowerShell::Commands::WaitForServiceTypes value); };
public Microsoft.PowerShell.Commands.WaitForServiceTypes For { get; set; }
[System.Management.Automation.Parameter(ParameterSetName="DefaultSet")]
public Microsoft.PowerShell.Commands.WaitForServiceTypes For { get; set; }
member this.For : Microsoft.PowerShell.Commands.WaitForServiceTypes with get, set
[<System.Management.Automation.Parameter(ParameterSetName="DefaultSet")>]
member this.For : Microsoft.PowerShell.Commands.WaitForServiceTypes with get, set
Public Property For As WaitForServiceTypes

Property Value

Attributes

Applies to