Partager via


JobSourceAdapter.GetJobsByName(String, Boolean) Method

Definition

Get list of jobs that matches the specified names.

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

Parameters

name
String

names to match, can support wildcard if the store supports

recurse
Boolean

Returns

Collection of jobs that match the specified criteria.

Applies to