SearchServiceApplication.GetTuningQuery method
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)
Syntax
'Declaration
Public Function GetTuningQuery ( _
searchObjectOwner As SearchObjectOwner, _
QueryId As Integer _
) As TuningQuery
'Usage
Dim instance As SearchServiceApplication
Dim searchObjectOwner As SearchObjectOwner
Dim QueryId As Integer
Dim returnValue As TuningQuery
returnValue = instance.GetTuningQuery(searchObjectOwner, _
QueryId)
public TuningQuery GetTuningQuery(
SearchObjectOwner searchObjectOwner,
int QueryId
)
Parameters
searchObjectOwner
Type: Microsoft.Office.Server.Search.Administration.SearchObjectOwnerThe owner of the search site hierarchy.
QueryId
Type: System.Int32The TuningQuery.
Return value
Type: TuningQuery
The TuningQuery for the given owner and ID.
See also
Reference
SearchServiceApplication class