UserPreference.EnableSetting Method
Enables 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 EnableSetting ( _
settingFlag As UserPreference.Settings _
)
'Usage
Dim instance As UserPreference
Dim settingFlag As UserPreference.Settings
instance.EnableSetting(settingFlag)
public void EnableSetting(
UserPreference.Settings settingFlag
)
Parameters
settingFlag
Type: Microsoft.Office.Server.Search.Administration.UserPreference.SettingsA flag that indicates the user Search preference to enable.
Remarks
The administrator must enable this feature.