Share via


UserPreference Members

Include Protected Members
Include Inherited 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 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, SPWeb) Retrieves the Search user preference information.
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(UserPreference) Stores the Search user preference information to the Search administration database.
Public methodStatic member SetUserPreference(UserPreference, SPWeb) 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