共用方式為


JobRepository.GetJob(Guid) Method

Definition

Returns the Job whose InstanceId matches the parameter.

public:
 System::Management::Automation::Job ^ GetJob(Guid instanceId);
public System.Management.Automation.Job GetJob (Guid instanceId);
member this.GetJob : Guid -> System.Management.Automation.Job
Public Function GetJob (instanceId As Guid) As Job

Parameters

instanceId
Guid

Returns

Job

The matching Job. Null if no match is found.

Applies to