WorkflowJobSourceAdapter.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:
override System::Collections::Generic::IList<System::Management::Automation::Job2 ^> ^ GetJobsByName(System::String ^ name, bool recurse);
public override System.Collections.Generic.IList<System.Management.Automation.Job2> GetJobsByName (string name, bool recurse);
override this.GetJobsByName : string * bool -> System.Collections.Generic.IList<System.Management.Automation.Job2>
Public Overrides 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