SearchServiceApplication.UpdateSetting method

Updates the value of a specified Search setting.

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

public void UpdateSetting(
	string name,
	Object value
)

Parameters

name
Type: System.String

The name of the Search setting.

value
Type: System.Object

The value of the Search setting.

This method finds the setting with the specified name from the list of the Search settings, and then updates it with the new value.

Show: