Share via


LogViewer.GetCrawlSummaryByHost Method

NOTE: This API is now obsolete.

Returns a summary of crawl log properties, grouped by host name.

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

Syntax

'Declaration
<ObsoleteAttribute("The LogViewer class is no longer supported and will be removed in a future release.")> _
Public Function GetCrawlSummaryByHost ( _
    prop As CrawlLogSummaryProperty, _
    direction As SortDirection, _
    startAt As Integer, _
    totalEntries As Integer, _
    <OutAttribute> ByRef nextStart As Integer _
) As DataTable
'Usage
Dim instance As LogViewer
Dim prop As CrawlLogSummaryProperty
Dim direction As SortDirection
Dim startAt As Integer
Dim totalEntries As Integer
Dim nextStart As Integer
Dim returnValue As DataTable

returnValue = instance.GetCrawlSummaryByHost(prop, _
    direction, startAt, totalEntries, _
    nextStart)
[ObsoleteAttribute("The LogViewer class is no longer supported and will be removed in a future release.")]
public DataTable GetCrawlSummaryByHost(
    CrawlLogSummaryProperty prop,
    SortDirection direction,
    int startAt,
    int totalEntries,
    out int nextStart
)

Parameters

  • startAt
    Type: System.Int32

    A 32-bit integer that specifies the start position in the crawl log for the crawl summary.

  • totalEntries
    Type: System.Int32

    A 32-bit integer that specifies the number of crawl log entries to include in the summary.

  • nextStart
    Type: System.Int32

    A 32-bit integer that specifies the position of the next crawl log entry.

Return Value

Type: System.Data.DataTable
A System.DataTable object.

Remarks

If there are no more entries in the crawl log, -1 is returned for the nextStart parameter.

See Also

Reference

LogViewer Class

LogViewer Members

Microsoft.Office.Server.Search.Administration Namespace