CrawlHistory.GetNDayAvgStats, méthode (Microsoft.Office.Server.Search.Administration)
Returns average statistics for all crawls on a content source from a date that is a specified number of days in the past.
Espace de noms : Microsoft.Office.Server.Search.Administration
Assembly : Microsoft.Office.Server.Search (dans microsoft.office.server.search.dll)
Syntaxe
'Déclaration
Public Function GetNDayAvgStats ( _
cs As ContentSource, _
crawlType As Integer, _
numberOfDays As Integer _
) As DataTable
'Utilisation
Dim instance As CrawlHistory
Dim cs As ContentSource
Dim crawlType As Integer
Dim numberOfDays As Integer
Dim returnValue As DataTable
returnValue = instance.GetNDayAvgStats(cs, crawlType, numberOfDays)
public DataTable GetNDayAvgStats (
ContentSource cs,
int crawlType,
int numberOfDays
)
Paramètres
- cs
The ContentSource object from which you want to retrieve crawl data.
- crawlType
Integer value that represents "FULL" (0) or "INCREMENTAL" (1) crawl types.
- numberOfDays
Integer value that specifies the number of days in the past for which you want to retrieve crawl data.
Valeur de retour
A DataTableT:System.Data.DataTable object with the following columns: DurationAverage, AverageSuccesses, AverageErrors, and AverageWarnings.
Voir aussi
Référence
CrawlHistory, classe
Membres CrawlHistory
Microsoft.Office.Server.Search.Administration, espace de noms