SearchExecutor 类

搜索服务器上运行查询。

在SharePoint 2013以运行搜索的特定功能,引入了此类针对后端的搜索查询,如下所示。

继承层次结构

System.Object
  Microsoft.Office.Server.Search.Query.SearchExecutor

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

语法

声明
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SearchExecutor
用法
Dim instance As SearchExecutor
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SearchExecutor

备注

使用此类**Execute()**的位置。

线程安全性

该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。

另请参阅

引用

SearchExecutor 成员

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

其他资源

使用 SharePoint 2013 搜索查询 API