JobSourceAdapter.GetJobsByName(String, 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 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.