ScheduledJobSourceAdapter.GetJobBySessionId(Int32, 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 job that has specific session id
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
Id to match
- recurse
- Boolean
Returns
Job with the specified id