CrawlLog.GetCrawlStatisticsByHost method

Get crawled content statistics for hosts crawled by the search service application filtered by host name prefix.

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

Syntax

'Declaration
Public Function GetCrawlStatisticsByHost ( _
    hostNamePrefix As String _
) As DataTable
'Usage
Dim instance As CrawlLog
Dim hostNamePrefix As String
Dim returnValue As DataTable

returnValue = instance.GetCrawlStatisticsByHost(hostNamePrefix)
public DataTable GetCrawlStatisticsByHost(
    string hostNamePrefix
)

Parameters

  • hostNamePrefix
    Type: System.String

    Supplies the name prefix for the desired hosts. If this string is null or empty, data for all hosts will be returned.

Return value

Type: System.Data.DataTable
Returns a DataTable containing number of items in each status for each host whose host name matches the supplied prefix, or all hosts crawled by this search service application is the supplied prefix is null or empty.

See also

Reference

CrawlLog class

CrawlLog members

Microsoft.Office.Server.Search.Administration namespace