Метод ISearchSiteAdministrationServiceApplication.SetUserPreferenceSerializeHelperSuggestionSettings
Пространство имен: Microsoft.Office.Server.Search.Administration
Сборка: Microsoft.Office.Server.Search (в Microsoft.Office.Server.Search.dll)
Синтаксис
'Декларация
<OperationContractAttribute> _
Function SetUserPreferenceSerializeHelperSuggestionSettings ( _
tenantId As Guid, _
userID As Byte(), _
strUserName As String, _
fEnableQuerySuggestions As Boolean, _
fEnablePersonalSuggestions As Boolean, _
preference As UserPreferenceSerializeHelper _
) As Integer
'Применение
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
)
Параметры
- tenantId
Тип: System.Guid
- userID
Тип: []
- strUserName
Тип: System.String
- fEnableQuerySuggestions
Тип: System.Boolean
- fEnablePersonalSuggestions
Тип: System.Boolean
Возвращаемое значение
Тип: System.Int32
См. также
Справочные материалы
ISearchSiteAdministrationServiceApplication интерфейс
Элементы ISearchSiteAdministrationServiceApplication
Пространство имен Microsoft.Office.Server.Search.Administration