JobSourceAdapter.GetJobsByFilter Method

Definition

Get list of jobs based on the adapter specific filter parameters.

public:
 abstract System::Collections::Generic::IList<System::Management::Automation::Job2 ^> ^ GetJobsByFilter(System::Collections::Generic::Dictionary<System::String ^, System::Object ^> ^ filter, bool recurse);
public abstract System.Collections.Generic.IList<System.Management.Automation.Job2> GetJobsByFilter (System.Collections.Generic.Dictionary<string,object> filter, bool recurse);
abstract member GetJobsByFilter : System.Collections.Generic.Dictionary<string, obj> * bool -> System.Collections.Generic.IList<System.Management.Automation.Job2>
Public MustOverride Function GetJobsByFilter (filter As Dictionary(Of String, Object), recurse As Boolean) As IList(Of Job2)

Parameters

filter
Dictionary<String,Object>

dictionary containing name value pairs for adapter specific filters

recurse
Boolean

Returns

Collection of jobs that match the specified criteria.

Applies to