Partager via


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

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

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 ( _
    cStat As CrawlStatus _
) As DataTable
'Utilisation
Dim instance As CrawlHistory
Dim cStat As CrawlStatus
Dim returnValue As DataTable

returnValue = instance.GetCrawlHistory(cStat)
public DataTable GetCrawlHistory (
    CrawlStatus cStat
)

Paramètres

  • cStat
    Filter result set based on crawl status. Accepts NONE 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