Partager via


CrawlHistory.GetCrawlHistory Method

NOTE: This API is now obsolete.

Retrieves all crawl history records for the last seven-day period.

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

Syntax

'Declaration
<ObsoleteAttribute("This method is deprecated now.")> _
Public Function GetCrawlHistory As DataTable
'Usage
Dim instance As CrawlHistory
Dim returnValue As DataTable

returnValue = instance.GetCrawlHistory()
[ObsoleteAttribute("This method is deprecated now.")]
public DataTable GetCrawlHistory()

Return Value

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

See Also

Reference

CrawlHistory Class

CrawlHistory Members

GetCrawlHistory Overload

Microsoft.Office.Server.Search.Administration Namespace