Partager via


JobManager.PersistJob(Job2, JobDefinition) Method

Definition

Saves the job to a persisted store.

public:
 void PersistJob(System::Management::Automation::Job2 ^ job, System::Management::Automation::JobDefinition ^ definition);
public void PersistJob (System.Management.Automation.Job2 job, System.Management.Automation.JobDefinition definition);
member this.PersistJob : System.Management.Automation.Job2 * System.Management.Automation.JobDefinition -> unit
Public Sub PersistJob (job As Job2, definition As JobDefinition)

Parameters

job
Job2

Job2 type job to persist.

definition
JobDefinition

Job definition containing source adapter information.

Applies to