Dela via


ScheduledJobDefinition.Run Method

Definition

Create a Job2 job, runs it and waits for it to complete. Job status and results are written to the job store.

public System.Management.Automation.Job2 Run ();
member this.Run : unit -> System.Management.Automation.Job2
Public Function Run () As Job2

Returns

Job2 job object that was run

Applies to