ISearchSiteAdministrationServiceApplication.SetUserPreferenceSerializeHelperSuggestionSettings method
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaração
<OperationContractAttribute> _
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 ISearchSiteAdministrationServiceApplication
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)
[OperationContractAttribute]
int SetUserPreferenceSerializeHelperSuggestionSettings(
Guid tenantId,
byte[] userID,
string strUserName,
bool fEnableQuerySuggestions,
bool fEnablePersonalSuggestions,
UserPreferenceSerializeHelper preference
)
Parâmetros
- tenantId
Type: System.Guid
- userID
Type: []
- strUserName
Type: System.String
- fEnableQuerySuggestions
Type: System.Boolean
- fEnablePersonalSuggestions
Type: System.Boolean
Valor retornado
Type: System.Int32
Ver também
Referência
ISearchSiteAdministrationServiceApplication interface