Partager via


SearchServiceApplication.SetUserPreferenceSerializeHelperSuggestionSettings - Méthode

Espace de noms :  Microsoft.Office.Server.Search.Administration
Assembly :  Microsoft.Office.Server.Search (dans Microsoft.Office.Server.Search.dll)

Syntaxe

'Déclaration
Public Function SetUserPreferenceSerializeHelperSuggestionSettings ( _
    tenantId As Guid, _
    userID As Byte(), _
    strUserName As String, _
    fEnableQuerySuggestions As Boolean, _
    fEnablePersonalSuggestions As Boolean, _
    preference As UserPreferenceSerializeHelper _
) As Integer
'Utilisation
Dim instance As SearchServiceApplication
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
)

Paramètres

  • userID
    Type : []

Valeur renvoyée

Type : System.Int32

Implémentations

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

Voir aussi

Référence

SearchServiceApplication classe

SearchServiceApplication - Membres

Microsoft.Office.Server.Search.Administration - Espace de noms