Aracılığıyla paylaş


JobSourceAdapter.RetrieveJobIdForReuse(Guid) Method

Definition

Get a token that allows for construction of a job with a previously assigned Id and InstanceId. This is only possible if this JobSourceAdapter is the creator of the original job. The original job must have been saved using "SaveJobIdForReconstruction"

protected:
 System::Management::Automation::JobIdentifier ^ RetrieveJobIdForReuse(Guid instanceId);
protected System.Management.Automation.JobIdentifier RetrieveJobIdForReuse (Guid instanceId);
member this.RetrieveJobIdForReuse : Guid -> System.Management.Automation.JobIdentifier
Protected Function RetrieveJobIdForReuse (instanceId As Guid) As JobIdentifier

Parameters

instanceId
Guid

Instance Id of the job to recreate.

Returns

JobIdentifier to be used in job construction.

Applies to