Compartir a través de


del método SearchServiceApplicationProxy.SetUserPreferenceSerializeHelperSuggestionSettings

Espacio de nombres:  Microsoft.Office.Server.Search.Administration
Ensamblado:  Microsoft.Office.Server.Search (en Microsoft.Office.Server.Search.dll)

Sintaxis

'Declaración
Public Function SetUserPreferenceSerializeHelperSuggestionSettings ( _
    tenantId As Guid, _
    userID As Byte(), _
    strUserName As String, _
    fEnableQuerySuggestions As Boolean, _
    fEnablePersonalSuggestions As Boolean, _
    preference As UserPreferenceSerializeHelper _
) As Integer
'Uso
Dim instance As SearchServiceApplicationProxy
Dim tenantId As Guid
Dim userID As Byte()
Dim strUserName As String
Dim fEnableQuerySuggestions As Boolean
Dim fEnablePersonalSuggestions As Boolean
Dim preference As UserPreferenceSerializeHelper
Dim returnValue As Integer

returnValue = instance.SetUserPreferenceSerializeHelperSuggestionSettings(tenantId, _
    userID, strUserName, fEnableQuerySuggestions, _
    fEnablePersonalSuggestions, preference)
public int SetUserPreferenceSerializeHelperSuggestionSettings(
    Guid tenantId,
    byte[] userID,
    string strUserName,
    bool fEnableQuerySuggestions,
    bool fEnablePersonalSuggestions,
    UserPreferenceSerializeHelper preference
)

Parámetros

  • userID
    Tipo: []

Valor devuelto

Tipo: System.Int32

Implementaciones

ISearchSiteAdministrationServiceApplication.SetUserPreferenceSerializeHelperSuggestionSettings(Guid, [], String, Boolean, Boolean, UserPreferenceSerializeHelper)

Vea también

Referencia

clase SearchServiceApplicationProxy

Miembros SearchServiceApplicationProxy

Espacio de nombres Microsoft.Office.Server.Search.Administration