UserPreference.DisableSetting method
Disables a user Search preference.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Sub DisableSetting ( _
settingFlag As UserPreference.Settings _
)
'Usage
Dim instance As UserPreference
Dim settingFlag As UserPreference.Settings
instance.DisableSetting(settingFlag)
public void DisableSetting(
UserPreference.Settings settingFlag
)
Parameters
settingFlag
Type: Microsoft.Office.Server.Search.Administration.UserPreference.SettingsA flag that indicates the user Search preference to disable.
Remarks
The administrator must enable this feature.