Export (0) Print
Expand All
Expand Minimize

SearchServiceApplication.GetQuerySuggestionCandidates method

SharePoint 2013

Retrieves the list of query suggestion candidates as strings for the given SearchObjectOwner.

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

public List<string> GetQuerySuggestionCandidates(
	SearchObjectOwner owner,
	Guid sourceId
)

Parameters

owner
Type: Microsoft.Office.Server.Search.Administration.SearchObjectOwner

The owner of the search site hierarchy.

sourceId
Type: System.Guid

Identifies the list or site for which to retrieve the query suggestions.

Return value

Type: System.Collections.Generic.List<String>
A list of query suggestions.

Implements

ISearchSiteAdministrationServiceApplication.GetQuerySuggestionCandidates(SearchObjectOwner, Guid)

Community Additions

ADD
Show:
© 2014 Microsoft