Partager via


CrawlHistory.GetCrawlHistory Method (DateTime, DateTime)

NOTE: This API is now obsolete.

Retrieves all the crawl history records created in a specified time window.

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 ( _
    bTime As DateTime, _
    eTime As DateTime _
) As DataTable
'Usage
Dim instance As CrawlHistory
Dim bTime As DateTime
Dim eTime As DateTime
Dim returnValue As DataTable

returnValue = instance.GetCrawlHistory(bTime, _
    eTime)
[ObsoleteAttribute("This method is deprecated now.")]
public DataTable GetCrawlHistory(
    DateTime bTime,
    DateTime eTime
)

Parameters

  • bTime
    Type: System.DateTime

    Beginning of time window for filtering the result set. Accepts DateTime.MinValue instead of NULL.

  • eTime
    Type: System.DateTime

    End of time window for filtering the result set. Accepts DateTime.MinValue instead of NULL.

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