Partilhar via


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)

Syntax

'Declaration
Public Sub UpdateSetting ( _
    name As String, _
    value As Object _
)
'Usage
Dim instance As SearchServiceApplication
Dim name As String
Dim value As Object

instance.UpdateSetting(name, value)
public void UpdateSetting(
    string name,
    Object value
)

Parameters

Remarks

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

See Also

Reference

SearchServiceApplication Class

SearchServiceApplication Members

Microsoft.Office.Server.Search.Administration Namespace