Share via


UserPreference.EnableCustomSetting Method

Enables the custom setting of the user Search preferences.

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

Syntax

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

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

Parameters

  • settingFlag
    Type: System.UInt64

    A bit-mask that indicates the custom setting to enable.

Remarks

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

See Also

Reference

UserPreference Class

UserPreference Members

Microsoft.Office.Server.Search.Administration Namespace