Gets the default maximum search duration to be used internally by this Schedule instance. The default value returned by this method is 730.5 days (about 2 years). Inheriters should override this method to specify their own maximum search duration, which should be smaller to improve performance when the schedule uses often time intervals, or higher to support the case of a schedule that uses rare time intervals.

Namespace:  DlhSoft.Windows.Data
Assembly:  DlhSoft.ProjectData.Core (in DlhSoft.ProjectData.Core.dll)

Syntax

C#
protected virtual TimeSpan GetDefaultMaxSearchDuration()
Visual Basic (Declaration)
Protected Overridable Function GetDefaultMaxSearchDuration As TimeSpan

See Also