Share via


SearchContext.Reset Method

Resets the content index.

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

Syntax

'Declaration
Public Sub Reset ( _
    disableAlerts As Boolean _
)
'Usage
Dim instance As SearchContext
Dim disableAlerts As Boolean

instance.Reset(disableAlerts)
public void Reset(
    bool disableAlerts
)

Parameters

  • disableAlerts
    Type: System.Boolean
    true indicates that search alerts should be disabled during the reset; otherwise, false if alerts should not be disabled.

See Also

Reference

SearchContext Class

SearchContext Members

Microsoft.Office.Server.Search.Administration Namespace