CrawlHistory.GetCrawlHistory 方法 (DateTime, DateTime) (Microsoft.Office.Server.Search.Administration)

Retrieves all the crawl history records from within a specified time window.

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

语法

声明
Public Function GetCrawlHistory ( _
    bTime As DateTime, _
    eTime As DateTime _
) As DataTable
用法
Dim instance As CrawlHistory
Dim bTime As DateTime
Dim eTime As DateTime
Dim returnValue As DataTable

returnValue = instance.GetCrawlHistory(bTime, eTime)
public DataTable GetCrawlHistory (
    DateTime bTime,
    DateTime eTime
)

参数

  • bTime
    Beginning of time window for filtering the result set. Accepts DateTime.MinValue instead of NULL.
  • eTime
    End of time window for filtering the result set. Accepts DateTime.MinValue instead of NULL.

返回值

A DataTableT:System.Data.DataTable object with a column that represents the following columns in the database, sorted in chronological order: CrawlID, ContentSourceID, ProjectID, CrawlType, RequestTime, Status, StartTime, EndTime, SuccessCount, ErrorCount, WarningCount.

另请参阅

参考

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