SearchServiceApplicationProxy.GetQuerySuggestionsWithResults 方法
命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)
语法
声明
Public Function GetQuerySuggestionsWithResults ( _
properties As QueryProperties, _
iNumberOfQuerySuggestions As Integer, _
iNumberOfResultSuggestions As Integer, _
fPreQuerySuggestions As Boolean, _
fHitHighlighting As Boolean, _
fCapitalizeFirstLetters As Boolean, _
fPrefixMatchAllTerms As Boolean _
) As QuerySuggestionResults
用法
Dim instance As SearchServiceApplicationProxy
Dim properties As QueryProperties
Dim iNumberOfQuerySuggestions As Integer
Dim iNumberOfResultSuggestions As Integer
Dim fPreQuerySuggestions As Boolean
Dim fHitHighlighting As Boolean
Dim fCapitalizeFirstLetters As Boolean
Dim fPrefixMatchAllTerms As Boolean
Dim returnValue As QuerySuggestionResults
returnValue = instance.GetQuerySuggestionsWithResults(properties, _
iNumberOfQuerySuggestions, iNumberOfResultSuggestions, _
fPreQuerySuggestions, fHitHighlighting, _
fCapitalizeFirstLetters, fPrefixMatchAllTerms)
public QuerySuggestionResults GetQuerySuggestionsWithResults(
QueryProperties properties,
int iNumberOfQuerySuggestions,
int iNumberOfResultSuggestions,
bool fPreQuerySuggestions,
bool fHitHighlighting,
bool fCapitalizeFirstLetters,
bool fPrefixMatchAllTerms
)
参数
- properties
类型:Microsoft.Office.Server.Search.Query.QueryProperties
- iNumberOfQuerySuggestions
类型:System.Int32
- iNumberOfResultSuggestions
类型:System.Int32
- fPreQuerySuggestions
类型:System.Boolean
- fHitHighlighting
类型:System.Boolean
- fCapitalizeFirstLetters
类型:System.Boolean
- fPrefixMatchAllTerms
类型:System.Boolean
返回值
类型:Microsoft.Office.Server.Search.Query.QuerySuggestionResults
另请参阅
引用
SearchServiceApplicationProxy 类