SearchServiceApplication.GetQueriesInQuerySet method

SharePoint 2013

Gets all tuning queries from the backend database server that belong to the specified query set.

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

public List<TuningQuery> GetQueriesInQuerySet(
	SearchObjectOwner searchObjectOwner,
	int QuerySetId
)

Parameters

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

The owner of the search site hierarchy.

QuerySetId
Type: System.Int32

The query set.

Return value

Type: System.Collections.Generic.List<TuningQuery>
A list of all tuning queries that belong to the given query set.
Show: