SearchServiceApplication.GetQueriesInQuerySet 方法

从属于指定的查询集后端数据库服务器中获取所有优化的查询。

命名空间:  Microsoft.Office.Server.Search.Administration
程序集:  Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)

语法

声明
Public Function GetQueriesInQuerySet ( _
    searchObjectOwner As SearchObjectOwner, _
    QuerySetId As Integer _
) As List(Of TuningQuery)
用法
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
)

参数

返回值

类型:System.Collections.Generic.List<TuningQuery>
属于给定的查询集的所有优化查询的列表。

另请参阅

引用

SearchServiceApplication 类

SearchServiceApplication 成员

Microsoft.Office.Server.Search.Administration 命名空间