CrawlHistory.GetCrawlHistory Method (CrawlHistory.CrawlStatus)

Retrieves all crawl history records for crawls with a specified crawl status for the last 7-day period.

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

public DataTable GetCrawlHistory(
	CrawlHistory.CrawlStatus cStat
)

Parameters

cStat
Type: Microsoft.Office.Server.Search.Administration.CrawlHistory.CrawlStatus
Filter result set based on crawl status. Accepts NONE instead of NULL.

Return Value

Type: System.Data.DataTable
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.

Community Additions

ADD
Show: