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
name
Type: System.StringThe name of the Search setting.
value
Type: System.ObjectThe value of the Search setting.
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