SearchServiceApplication.ClearUserClickHistory method

SharePoint 2013

Clears the history of recorded clicks for the given user.

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

public int ClearUserClickHistory(
	Guid tenantId,
	byte[] userID,
	string strUserName,
	UserPreferenceSerializeHelper preference
)

Parameters

tenantId
Type: System.Guid

The ID of the tenant that the user belongs to.

userID
Type: []

An array of bites containing the user’s ID.

strUserName
Type: System.String

The user name.

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

The search preferences associated with the user.

Return value

Type: System.Int32
Represents the version of the database where the click history is stored.

Implements

ISearchSiteAdministrationServiceApplication.ClearUserClickHistory(Guid, [], String, UserPreferenceSerializeHelper)
Show: