CrawlLog.GetErrorMessages 方法
获取字典,它包含所有爬网相关错误消息。
命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)
语法
声明
Public Function GetErrorMessages As Dictionary(Of Integer, String)
用法
Dim instance As CrawlLog
Dim returnValue As Dictionary(Of Integer, String)
returnValue = instance.GetErrorMessages()
public Dictionary<int, string> GetErrorMessages()
返回值
类型:System.Collections.Generic.Dictionary<Int32, String>
返回的错误消息,其中的关键是错误 ID 和值是错误消息的字典。