Compartir a través de


: CrawlHistory.GetCrawlHistory (Método) (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.

Espacio de nombres:
Ensamblado: Microsoft.Office.Server.Search (in microsoft.office.server.search.dll)

Sintaxis

'Declaración
Public Function GetCrawlHistory ( _
    cStat As CrawlStatus _
) As DataTable
'Uso
Dim instance As CrawlHistory
Dim cStat As CrawlStatus
Dim returnValue As DataTable

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

Parámetros

  • cStat
    Filter result set based on crawl status. Accepts NONE instead of NULL.

Valor devuelto

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.

Vea también

Referencia

CrawlHistory (Clase)
CrawlHistory (Miembros)
Microsoft.Office.Server.Search.Administration (Espacio de nombres)