Share via


SearchContext.Reset Method

NOTE: This API is now obsolete.

Resets the content index.

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

Syntax

'Declaration
<ObsoleteAttribute("This class is obsolete now. Please use SearchServiceApplication and SearchServiceApplicationProxy instead.")> _
Public Sub Reset ( _
    disableAlerts As Boolean _
)
'Usage
Dim instance As SearchContext
Dim disableAlerts As Boolean

instance.Reset(disableAlerts)
[ObsoleteAttribute("This class is obsolete now. Please use SearchServiceApplication and SearchServiceApplicationProxy instead.")]
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