JobSourceAdapter.GetJobByInstanceId(Guid, Boolean) 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 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.