SearchServiceApplication.GetQueriesInQuerySet method
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)
Syntax
'Declaration
Public Function GetQueriesInQuerySet ( _
searchObjectOwner As SearchObjectOwner, _
QuerySetId As Integer _
) As List(Of TuningQuery)
'Usage
Dim instance As SearchServiceApplication
Dim searchObjectOwner As SearchObjectOwner
Dim QuerySetId As Integer
Dim returnValue As List(Of TuningQuery)
returnValue = instance.GetQueriesInQuerySet(searchObjectOwner, _
QuerySetId)
public List<TuningQuery> GetQueriesInQuerySet(
SearchObjectOwner searchObjectOwner,
int QuerySetId
)
Parameters
searchObjectOwner
Type: Microsoft.Office.Server.Search.Administration.SearchObjectOwnerThe owner of the search site hierarchy.
QuerySetId
Type: System.Int32The query set.
Return value
Type: System.Collections.Generic.List<TuningQuery>
A list of all tuning queries that belong to the given query set.
See also
Reference
SearchServiceApplication class