Share via


SPSearchService Class

Represents a search service installed on one or more servers in the server farm.

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.SharePoint.Search.Administration.SPSearchService

Namespace:  Microsoft.SharePoint.Search.Administration
Assembly:  Microsoft.SharePoint.Search (in Microsoft.SharePoint.Search.dll)

Syntax

<GuidAttribute("71A010A3-47E6-409e-8501-9E15CB874D44")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPSearchService _
    Inherits SPWindowsService _
    Implements IBackupRestore

Dim instance As SPSearchService
[GuidAttribute("71A010A3-47E6-409e-8501-9E15CB874D44")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPSearchService : 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

SPSearchService Members

Microsoft.SharePoint.Search.Administration Namespace