Freigeben über


SearchServiceApplicationProxy.SetUserPreferenceSerializeHelperSuggestionSettings-Methode

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

Syntax

'Declaration
Public Function SetUserPreferenceSerializeHelperSuggestionSettings ( _
    tenantId As Guid, _
    userID As Byte(), _
    strUserName As String, _
    fEnableQuerySuggestions As Boolean, _
    fEnablePersonalSuggestions As Boolean, _
    preference As UserPreferenceSerializeHelper _
) As Integer
'Usage
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
)

Parameter

  • userID
    Typ: []

Rückgabewert

Typ: System.Int32

Implementiert

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

Siehe auch

Referenz

SearchServiceApplicationProxy Klasse

SearchServiceApplicationProxy-Member

Microsoft.Office.Server.Search.Administration-Namespace