SearchServiceApplicationProxy.ClearUserClickHistory 方法

清除记录单击给定用户的历史的记录。

命名空间:  Microsoft.Office.Server.Search.Administration
程序集:  Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)

语法

声明
Public Function ClearUserClickHistory ( _
    tenantId As Guid, _
    userID As Byte(), _
    strUserName As String, _
    preference As UserPreferenceSerializeHelper _
) As Integer
用法
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
)

参数

  • tenantId
    类型:System.Guid

    用户所属的租户 ID。

  • userID
    类型:[]

    数组的片段包含用户的 id。

返回值

类型:System.Int32
表示单击历史记录的存储位置的数据库的版本。

实现

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

另请参阅

引用

SearchServiceApplicationProxy 类

SearchServiceApplicationProxy 成员

Microsoft.Office.Server.Search.Administration 命名空间