Поделиться через


Метод CrawlLog.GetCrawledUrlCount

Получение числа для обхода URL-адресов, соответствующих параметров. В документации для GetCrawledURLs использование параметра.

Пространство имен:  Microsoft.Office.Server.Search.Administration
Сборка:  Microsoft.Office.Server.Search (в Microsoft.Office.Server.Search.dll)

Синтаксис

'Декларация
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
'Применение
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
)

Параметры

Возвращаемое значение

Тип: System.Int32
Количество номеров URL-адресов, соответствующих параметров.

См. также

Справочные материалы

CrawlLog класс

Элементы CrawlLog

Пространство имен Microsoft.Office.Server.Search.Administration