Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves all the crawl history records up to a specified number for the last 7-day period.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Function GetCrawlHistory ( _
maxRec As Integer _
) As DataTable
'Usage
Dim instance As CrawlHistory
Dim maxRec As Integer
Dim returnValue As DataTable
returnValue = instance.GetCrawlHistory(maxRec)
public DataTable GetCrawlHistory(
int maxRec
)
Parameters
- maxRec
Type: System.Int32
The limit for the number of records in the result set. Accepts int.MinValue 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.