CrawlHistory.GetLastCompletedCrawlHistory 方法 (Microsoft.Office.Server.Search.Administration)
Retrieves the last completed crawl history record for a specified content source.
命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search (在 microsoft.office.server.search.dll 中)
语法
声明
Public Function GetLastCompletedCrawlHistory ( _
contentSourceID As Integer _
) As DataTable
用法
Dim instance As CrawlHistory
Dim contentSourceID As Integer
Dim returnValue As DataTable
returnValue = instance.GetLastCompletedCrawlHistory(contentSourceID)
public DataTable GetLastCompletedCrawlHistory (
int contentSourceID
)
参数
- contentSourceID
The content source ID crawl log filter property.
返回值
A DataTableT:System.Data.DataTable object with a column that represents the following columns in the database, sorted in chronological order: CrawlID, ContentSourceID, ProjectID, CrawlType, RequestTime, Status, StartTime, EndTime, SuccessCount, ErrorCount, WarningCount.
另请参阅
参考
CrawlHistory 类
CrawlHistory 成员
Microsoft.Office.Server.Search.Administration 命名空间