Schedule 类
提供爬网计划SharePoint 企业级搜索类的基类。
继承层次结构
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
命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)
语法
声明
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public MustInherit Class Schedule
用法
Dim instance As Schedule
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public abstract class Schedule
备注
在SharePoint 企业级搜索中,有四种不同的爬网计划类型,每个表示的管理对象模型中的特定类。它们是:
DailySchedule此类用于指定爬网之间的天数。
WeeklySchedule此类用于指定爬网之间的周数。
MonthlyDateSchedule此类用于指定的月份和年份应在何时爬网的几个月中各天。
MonthlyDayOfWeekSchedule此类用于指定的月份,周,月和年何时发生在爬网中的几个月的天数。
线程安全性
该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。
另请参阅
引用
Microsoft.Office.Server.Search.Administration 命名空间
其他资源
Getting Started with the Enterprise Search Administration Object Model
How to: Programmatically Configure a Crawl Schedule for a Content Source
How to: Programmatically Manage the Crawl of a Content Source