Share via


JobSourceAdapter.GetJobByInstanceId(Guid, Boolean) Method

Definition

Get list of jobs that has the specified id.

public:
 abstract System::Management::Automation::Job2 ^ GetJobByInstanceId(Guid instanceId, bool recurse);
public abstract System.Management.Automation.Job2 GetJobByInstanceId (Guid instanceId, bool recurse);
abstract member GetJobByInstanceId : Guid * bool -> System.Management.Automation.Job2
Public MustOverride Function GetJobByInstanceId (instanceId As Guid, recurse As Boolean) As Job2

Parameters

instanceId
Guid

Guid to match.

recurse
Boolean

Returns

Job with the specified guid.

Applies to