JobSourceAdapter.RetrieveJobIdForReuse(Guid) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.