SearchServiceApplication.GetTuningQuery method

SharePoint 2013

Gets the TuningQuery for the given owner and ID.

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

public TuningQuery GetTuningQuery(
	SearchObjectOwner searchObjectOwner,
	int QueryId
)

Parameters

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

The owner of the search site hierarchy.

QueryId
Type: System.Int32

The TuningQuery.

Return value

Type: TuningQuery
The TuningQuery for the given owner and ID.
Show: