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