CrawlLog.GetCrawledUrlCount method

Get the count of crawled URLs that match the supplied parameters. See documentation for GetCrawledURLs for parameter usage.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
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
'Usage
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
)

Parameters

Return value

Type: System.Int32
A count of the number of URLs that match the supplied parameters.

See also

Reference

CrawlLog class

CrawlLog members

Microsoft.Office.Server.Search.Administration namespace