Export (0) Print
Expand All

Schedule Class

Provides the base class for SharePoint Enterprise Search crawl schedules.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public abstract class Schedule

In SharePoint Enterprise Search, there are four different crawl schedule types, each represented by a specific class in the Administration object model. These are:

  • DailySchedule   Use this class to specify the number of days between crawls.

  • WeeklySchedule   Use this class to specify the number of weeks between crawls.

  • MonthlyDateSchedule   Use this class to specify the days of the month and months of the year when the crawl should occur.

  • MonthlyDayOfWeekSchedule   Use this class to specify the days of the month, the weeks of the month, and the months of the year when the crawl should occur.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft