SearchServiceApplicationProxy.ClearUserClickHistory method

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)

Syntax

'Declaration
Public Function ClearUserClickHistory ( _
    tenantId As Guid, _
    userID As Byte(), _
    strUserName As String, _
    preference As UserPreferenceSerializeHelper _
) As Integer
'Usage
Dim instance As SearchServiceApplicationProxy
Dim tenantId As Guid
Dim userID As Byte()
Dim strUserName As String
Dim preference As UserPreferenceSerializeHelper
Dim returnValue As Integer

returnValue = instance.ClearUserClickHistory(tenantId, _
    userID, strUserName, preference)
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.

Return value

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

Implements

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

See also

Reference

SearchServiceApplicationProxy class

SearchServiceApplicationProxy members

Microsoft.Office.Server.Search.Administration namespace