Delen via


JobSourceAdapter.StoreJobIdForReuse(Job2, Boolean) Method

Definition

Saves the Id information for a job so that it can be constructed at a later time. This will only allow this job source adapter type to recreate the job.

public:
 void StoreJobIdForReuse(System::Management::Automation::Job2 ^ job, bool recurse);
public void StoreJobIdForReuse (System.Management.Automation.Job2 job, bool recurse);
member this.StoreJobIdForReuse : System.Management.Automation.Job2 * bool -> unit
Public Sub StoreJobIdForReuse (job As Job2, recurse As Boolean)

Parameters

job
Job2

The job whose id information to store.

recurse
Boolean

Recurse to save child job Ids.

Applies to