Share via


Job.SetJobState(JobState) Method

Definition

Sets Job State.

protected:
 void SetJobState(System::Management::Automation::JobState state);
protected void SetJobState (System.Management.Automation.JobState state);
member this.SetJobState : System.Management.Automation.JobState -> unit
Protected Sub SetJobState (state As JobState)

Parameters

state
JobState

New State of Job

Applies to