Condividi tramite


SearchService Class

Represents an instance of the search service.

Inheritance Hierarchy

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

Namespace:  Microsoft.Office.Server.Search.Administration
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
<GuidAttribute("2103BB96-91C9-425F-AB99-501C505736CA")> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public NotInheritable Class SearchService _
    Inherits SPWindowsService _
    Implements IBackupRestore
'Usage
Dim instance As SearchService
[GuidAttribute("2103BB96-91C9-425F-AB99-501C505736CA")]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public sealed class SearchService : SPWindowsService, 
    IBackupRestore

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

SearchService Members

Microsoft.Office.Server.Search.Administration Namespace