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
)
参数
- urlQueryString
类型:System.String
- isLike
类型:System.Boolean
- contentSourceID
类型:System.Int32
- errorLevel
类型:System.Int32
- errorID
类型:System.Int32
- startDateTime
类型:System.DateTime
- endDateTime
类型:System.DateTime
返回值
类型:System.Int32
与提供的参数相匹配的 Url 数的计数。