SearchService 类
表示一个搜索服务实例。
继承层次结构
System.Object
Microsoft.SharePoint.Administration.SPAutoSerializingObject
Microsoft.SharePoint.Administration.SPPersistedObject
Microsoft.SharePoint.Administration.SPPersistedUpgradableObject
Microsoft.SharePoint.Administration.SPService
Microsoft.SharePoint.Administration.SPWindowsService
Microsoft.Office.Server.Search.Administration.SearchService
命名空间: Microsoft.Office.Server.Search.Administration
程序集: Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)
语法
声明
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public NotInheritable Class SearchService _
Inherits SPWindowsService _
Implements IBackupRestore
用法
Dim instance As SearchService
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public sealed class SearchService : SPWindowsService,
IBackupRestore
线程安全性
该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。