SearchServiceApplicationProxy.SetUserPreferenceSerializeHelperSuggestionSettings 方法
命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)
语法
声明
Public 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 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
)
参数
- tenantId
类型:System.Guid
- userID
类型:[]
- strUserName
类型:System.String
- fEnableQuerySuggestions
类型:System.Boolean
- fEnablePersonalSuggestions
类型:System.Boolean
返回值
类型:System.Int32
实现
另请参阅
引用
SearchServiceApplicationProxy 类