Partilhar via


SearchServiceApplication.Reset Method

Resets the current SearchServiceApplication.

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, _
    ignoreUnreachableServer As Boolean _
)
'Usage
Dim instance As SearchServiceApplication
Dim disableAlerts As Boolean
Dim ignoreUnreachableServer As Boolean

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

Parameters

  • disableAlerts
    Type: System.Boolean

    true if the Search alerts should be disabled during reset; otherwise, false.

  • ignoreUnreachableServer
    Type: System.Boolean

    true if the failures to connect to servers are ignored; otherwise, false.

Remarks

This method resets the current SearchServiceApplication across all servers. All data in the current SearchServiceApplication will be lost during the reset operation.

See Also

Reference

SearchServiceApplication Class

SearchServiceApplication Members

Microsoft.Office.Server.Search.Administration Namespace