SearchServiceApplication.GetTuningQuery 方法
获取TuningQuery为给定的所有者和 id。
命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)
语法
声明
Public Function GetTuningQuery ( _
searchObjectOwner As SearchObjectOwner, _
QueryId As Integer _
) As TuningQuery
用法
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
)
参数
searchObjectOwner
类型:Microsoft.Office.Server.Search.Administration.SearchObjectOwner搜索站点层次结构的所有者。
QueryId
类型:System.Int32TuningQuery。
返回值
类型:TuningQuery
TuningQuery为给定的所有者和 id。