SearchServiceApplicationProxy.GetQuerySuggestionsWithResults method
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaração
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
'Uso
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
)
Parâmetros
- properties
Type: Microsoft.Office.Server.Search.Query.QueryProperties
- iNumberOfQuerySuggestions
Type: System.Int32
- iNumberOfResultSuggestions
Type: System.Int32
- fPreQuerySuggestions
Type: System.Boolean
- fHitHighlighting
Type: System.Boolean
- fCapitalizeFirstLetters
Type: System.Boolean
- fPrefixMatchAllTerms
Type: System.Boolean
Valor retornado
Type: Microsoft.Office.Server.Search.Query.QuerySuggestionResults
Ver também
Referência
SearchServiceApplicationProxy class