Delen via


RemoveJobCommand.Force Property

Definition

If state of the job is running or notstarted, this will forcefully stop it.

public:
 property System::Management::Automation::SwitchParameter Force { System::Management::Automation::SwitchParameter get(); void set(System::Management::Automation::SwitchParameter value); };
public System.Management.Automation.SwitchParameter Force { get; set; }
[System.Management.Automation.Alias(new System.String[] { "F" })]
[System.Management.Automation.Parameter(ParameterSetName="FilterParameterSet")]
[System.Management.Automation.Parameter(ParameterSetName="InstanceIdParameterSet")]
[System.Management.Automation.Parameter(ParameterSetName="JobParameterSet")]
[System.Management.Automation.Parameter(ParameterSetName="NameParameterSet")]
[System.Management.Automation.Parameter(ParameterSetName="SessionIdParameterSet")]
public System.Management.Automation.SwitchParameter Force { get; set; }
member this.Force : System.Management.Automation.SwitchParameter with get, set
[<System.Management.Automation.Alias(new System.String[] { "F" })>]
[<System.Management.Automation.Parameter(ParameterSetName="FilterParameterSet")>]
[<System.Management.Automation.Parameter(ParameterSetName="InstanceIdParameterSet")>]
[<System.Management.Automation.Parameter(ParameterSetName="JobParameterSet")>]
[<System.Management.Automation.Parameter(ParameterSetName="NameParameterSet")>]
[<System.Management.Automation.Parameter(ParameterSetName="SessionIdParameterSet")>]
member this.Force : System.Management.Automation.SwitchParameter with get, set
Public Property Force As SwitchParameter

Property Value

Attributes

Applies to