Schedule class

Provides the base class for SharePoint Enterprise Search crawl schedules.

Inheritance hierarchy

System.Object
  Microsoft.Office.Server.Search.Administration.Schedule
    Microsoft.Office.Server.Search.Administration.DailySchedule
    Microsoft.Office.Server.Search.Administration.MonthlyDateSchedule
    Microsoft.Office.Server.Search.Administration.MonthlyDayOfWeekSchedule
    Microsoft.Office.Server.Search.Administration.WeeklySchedule

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public MustInherit Class Schedule
'Usage
Dim instance As Schedule
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public abstract class Schedule

Remarks

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.

Thread safety

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

See also

Reference

Schedule members

Microsoft.Office.Server.Search.Administration namespace

Other resources

Getting Started with the Enterprise Search Administration Object Model

Managing Content

How to: Programmatically Configure a Crawl Schedule for a Content Source

How to: Programmatically Manage the Crawl of a Content Source