UserPreference class

Provides methods to access the Search user preference.

Inheritance hierarchy

System.Object
  Microsoft.Office.Server.Search.Administration.UserPreference

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

Syntax

'Declaration
<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public NotInheritable Class UserPreference
'Usage
Dim instance As UserPreference
[SerializableAttribute]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public sealed class UserPreference

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

UserPreference members

Microsoft.Office.Server.Search.Administration namespace