Partager via


CrawlHistory.GetCrawlHistory, méthode (DateTime, DateTime) (Microsoft.Office.Server.Search.Administration)

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

Espace de noms : Microsoft.Office.Server.Search.Administration
Assembly : Microsoft.Office.Server.Search (dans microsoft.office.server.search.dll)

Syntaxe

'Déclaration
Public Function GetCrawlHistory ( _
    bTime As DateTime, _
    eTime As DateTime _
) As DataTable
'Utilisation
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
)

Paramètres

  • 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.

Valeur de retour

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.

Voir aussi

Référence

CrawlHistory, classe
Membres CrawlHistory
Microsoft.Office.Server.Search.Administration, espace de noms