Share via


WorkflowJobSourceAdapter.GetJobBySessionId(Int32, Boolean) Method

Definition

Get job by session id.

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

Parameters

id
Int32

The session id.

recurse
Boolean

Returns

The returned job2 object.

Applies to