Share via


CrawlLog.GetCrawlErrors method

Get errors aggregated by error ID for the supplied content source and host.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Function GetCrawlErrors ( _
    contentSourceID As Integer, _
    hostID As Integer _
) As DataTable
'Usage
Dim instance As CrawlLog
Dim contentSourceID As Integer
Dim hostID As Integer
Dim returnValue As DataTable

returnValue = instance.GetCrawlErrors(contentSourceID, _
    hostID)
public DataTable GetCrawlErrors(
    int contentSourceID,
    int hostID
)

Parameters

Return value

Type: System.Data.DataTable
Returns a DataTable containing error messages and their respective counts for the provided host and content source.

See also

Reference

CrawlLog class

CrawlLog members

Microsoft.Office.Server.Search.Administration namespace