Partager via


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

Retrieves the last completed crawl history record for a specified content source.

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

Syntaxe

'Déclaration
Public Function GetLastCompletedCrawlHistory ( _
    contentSourceID As Integer _
) As DataTable
'Utilisation
Dim instance As CrawlHistory
Dim contentSourceID As Integer
Dim returnValue As DataTable

returnValue = instance.GetLastCompletedCrawlHistory(contentSourceID)
public DataTable GetLastCompletedCrawlHistory (
    int contentSourceID
)

Paramètres

  • contentSourceID
    The content source ID crawl log filter property. 

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