Partager via


JobSourceAdapter.GetJobBySessionId(Int32, Boolean) Method

Definition

Get job that has specific session id.

public:
 abstract System::Management::Automation::Job2 ^ GetJobBySessionId(int id, bool recurse);
public abstract System.Management.Automation.Job2 GetJobBySessionId (int id, bool recurse);
abstract member GetJobBySessionId : int * bool -> System.Management.Automation.Job2
Public MustOverride Function GetJobBySessionId (id As Integer, recurse As Boolean) As Job2

Parameters

id
Int32

Id to match.

recurse
Boolean

Returns

Job with the specified id.

Applies to