Export (0) Print
Expand All
Expand Minimize

SearchServiceApplication.SetUserPreferenceSerializeHelper method

Sets the user preference serialization helper for a specified user.

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

public int SetUserPreferenceSerializeHelper(
	byte[] userID,
	UserPreferenceSerializeHelper preference
)

Parameters

userID
Type: []

The user ID associated with the Search preference.

preference
Type: Microsoft.Office.Server.Search.Administration.UserPreferenceSerializeHelper

The user preference serialization helper for the specified user.

Return value

Type: System.Int32
The database version of the user preference object.

Implements

ISearchSiteAdministrationServiceApplication.SetUserPreferenceSerializeHelper([], UserPreferenceSerializeHelper)

This method sets the user preference serialization helper for a specified user in the current SearchServiceApplication.

Show:
© 2014 Microsoft