Share via


CrawlLogFilters.AddFilter Method (DateTime, DateTime)

Applies the crawl log filter based on the specified start and end time.

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

Syntax

'Declaration
Public Sub AddFilter ( _
    startLogTime As DateTime, _
    endLogTime As DateTime _
)
'Usage
Dim instance As CrawlLogFilters
Dim startLogTime As DateTime
Dim endLogTime As DateTime

instance.AddFilter(startLogTime, endLogTime)
public void AddFilter(
    DateTime startLogTime,
    DateTime endLogTime
)

Parameters

  • startLogTime
    Type: System.DateTime

    A System.DateTime value representing the start time to use for the crawl log filter.

  • endLogTime
    Type: System.DateTime

    A System.DateTime value representing the end time to use for the crawl log filter.

See Also

Reference

CrawlLogFilters Class

CrawlLogFilters Members

AddFilter Overload

Microsoft.Office.Server.Search.Administration Namespace