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
- urlQueryString
Type: System.String
- isLike
Type: System.Boolean
- contentSourceID
Type: System.Int32
- errorLevel
Type: System.Int32
- errorID
Type: System.Int32
- startDateTime
Type: System.DateTime
- endDateTime
Type: System.DateTime
Return value
Type: System.Int32
A count of the number of URLs that match the supplied parameters.