Compartilhar via


JobSourceAdapter.GetJobsByCommand(String, Boolean) Method

Definition

Get list of jobs that run the specified command.

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

Parameters

command
String

Command to match.

recurse
Boolean

Returns

Collection of jobs that match the specified criteria.

Applies to