Share via


Schedule 类 (Microsoft.Office.Server.Search.Administration)

Provides the base class for 企业级搜索 crawl schedules.

命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search (在 microsoft.office.server.search.dll 中)

语法

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

备注

In 企业级搜索, there are four different crawl schedule types, each represented by a different 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.

继承层次结构

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

线程安全性

此类型的任何公共静态( Visual Basic 中共享)成员是线程安全的。不保证任何实例成员都是线程安全的。

另请参阅

参考

Schedule 成员
Microsoft.Office.Server.Search.Administration 命名空间

其他资源

企业级搜索管理对象模型入门
管理内容
如何:以编程方式配置内容源的爬网计划
如何:以编程方式管理对内容源的爬网