Share via


CrawlLog.GetCrawledUrlCount - Méthode

Obtenir le nombre d'URL analysées qui correspondent aux paramètres fournis. Voir la documentation de GetCrawledURLs pour l'utilisation du paramètre.

Espace de noms :  Microsoft.Office.Server.Search.Administration
Assembly :  Microsoft.Office.Server.Search (dans Microsoft.Office.Server.Search.dll)

Syntaxe

'Déclaration
Public Function GetCrawledUrlCount ( _
    urlQueryString As String, _
    isLike As Boolean, _
    contentSourceID As Integer, _
    errorLevel As Integer, _
    errorID As Integer, _
    startDateTime As DateTime, _
    endDateTime As DateTime _
) As Integer
'Utilisation
Dim instance As CrawlLog
Dim urlQueryString As String
Dim isLike As Boolean
Dim contentSourceID As Integer
Dim errorLevel As Integer
Dim errorID As Integer
Dim startDateTime As DateTime
Dim endDateTime As DateTime
Dim returnValue As Integer

returnValue = instance.GetCrawledUrlCount(urlQueryString, _
    isLike, contentSourceID, errorLevel, _
    errorID, startDateTime, endDateTime)
public int GetCrawledUrlCount(
    string urlQueryString,
    bool isLike,
    int contentSourceID,
    int errorLevel,
    int errorID,
    DateTime startDateTime,
    DateTime endDateTime
)

Paramètres

Valeur renvoyée

Type : System.Int32
Un décompte du nombre d'URL qui correspondent aux paramètres fournis.

Voir aussi

Référence

CrawlLog classe

CrawlLog - Membres

Microsoft.Office.Server.Search.Administration - Espace de noms