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 命名空间