Method JobEndGreaterThanOrEqual
JobEndGreaterThanOrEqual<T>(Exposer<T, IDictionary<string, dynamic>>, DateTime)
Returns a filter that filters jobs keeping only those that have an end time greater than or equal to the specified DateTime value.
public static ManagedFilter<T, IEnumerable> JobEndGreaterThanOrEqual<T>(this Exposer<T, IDictionary<string, dynamic>> field, DateTime time)
Parameters
fieldExposer<T, IDictionary<string, dynamic>>The field exposer.
timeDateTimeThe DateTime value that the end time field of the default section definition of the job must be greater than or equal to.
Returns
- ManagedFilter<T, IEnumerable>
A filter that filters jobs keeping only those that have an end time greater than or equal to the specified DateTime value.
Type Parameters
TThe type from which fields are exposed.
Examples
Job retrievedJob = jobManagerHelper.Jobs.Read(JobExposers.FieldValues.JobEndGreaterThanOrEqual(DateTime.Now)).FirstOrDefault();