UserPreference members

Provides methods to access the Search user preference.

The UserPreference type exposes the following members.

Properties

  Name Description
Public property CustomString Gets or sets the custom string of the UserPreference.
Public property QueryLanguages Gets or sets the query languages for the preference picked by the user.

Top

Methods

  Name Description
Public methodStatic member ClearUserClickHistory
Public method DisableCustomSetting Disables the custom setting of the Search user preference.
Public method DisableSetting Disables a user Search preference.
Public method EnableCustomSetting Enables the custom setting of the user Search preferences.
Public method EnableSetting Enables a user Search preference.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public methodStatic member GetUserPreference() Retrieves the Search user preference information.
Public methodStatic member GetUserPreference(Boolean) Retrieves the Search user preference information.
Public methodStatic member GetUserPreference(Boolean, SPContext) Get the UserPreference from databse
Public method IsCustomSettingEnabled Determines whether the custom setting of the Search user preference is enabled.
Public method IsSettingEnabled Determines whether a user preference is enabled.
Protected method MemberwiseClone (Inherited from Object.)
Public methodStatic member SetUserPreference Stores the Search user preference information to the Search administration database.
Public method ToString (Inherited from Object.)

Top

See also

Reference

UserPreference class

Microsoft.Office.Server.Search.Administration namespace