次の方法で共有


JobSourceAdapter.GetJobsByState(JobState, Boolean) Method

Definition

Get list of jobs that are in the specified state.

public:
 abstract System::Collections::Generic::IList<System::Management::Automation::Job2 ^> ^ GetJobsByState(System::Management::Automation::JobState state, bool recurse);
public abstract System.Collections.Generic.IList<System.Management.Automation.Job2> GetJobsByState (System.Management.Automation.JobState state, bool recurse);
abstract member GetJobsByState : System.Management.Automation.JobState * bool -> System.Collections.Generic.IList<System.Management.Automation.Job2>
Public MustOverride Function GetJobsByState (state As JobState, recurse As Boolean) As IList(Of Job2)

Parameters

state
JobState

State to match.

recurse
Boolean

Returns

Collection of jobs with the specified state.

Applies to