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

Remarks

The administrator must enable this feature.

See also

Reference

UserPreference class

UserPreference members

Microsoft.Office.Server.Search.Administration namespace