UserPreference.DisableCustomSetting method

Disables the custom setting of the Search user preference.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Sub DisableCustomSetting ( _
    settingFlag As ULong _
)
'Usage
Dim instance As UserPreference
Dim settingFlag As ULong

instance.DisableCustomSetting(settingFlag)
public void DisableCustomSetting(
    ulong settingFlag
)

Parameters

  • settingFlag
    Type: System.UInt64

    A bitmask that indicates the custom setting to disable.

Remarks

Set settingFlag to ulong.MAX_VALUE to disable all custom settings.

See also

Reference

UserPreference class

UserPreference members

Microsoft.Office.Server.Search.Administration namespace