Share via


SearchServiceApplication.RestoreDefaultSetting Method

Restores a specified Search setting value to the default value.

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

Syntax

'Declaration
Public Sub RestoreDefaultSetting ( _
    name As String _
)
'Usage
Dim instance As SearchServiceApplication
Dim name As String

instance.RestoreDefaultSetting(name)
public void RestoreDefaultSetting(
    string name
)

Parameters

  • name
    Type: System.String

    The name of the specified Search setting.

Remarks

This method finds the setting with the specified name from the list of the Search settings, and then resets its value to the default value.

See Also

Reference

SearchServiceApplication Class

SearchServiceApplication Members

Microsoft.Office.Server.Search.Administration Namespace