Share via


SPServiceApplication class

Represents the abstract base class for an application that is installed for a service application.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Administration.SPPersistedObject
      Microsoft.SharePoint.Administration.SPPersistedUpgradableObject
        Microsoft.SharePoint.Administration.SPServiceApplication
          Microsoft.SharePoint.Administration.SPIisWebServiceApplication
          Microsoft.SharePoint.Administration.SPUsageApplication

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

Syntax

'Declaration
<GuidAttribute("077F24BA-28F8-4B4C-B981-DD68A02CA479")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public MustInherit Class SPServiceApplication _
    Inherits SPPersistedUpgradableObject
'Usage
Dim instance As SPServiceApplication
[GuidAttribute("077F24BA-28F8-4B4C-B981-DD68A02CA479")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public abstract class SPServiceApplication : SPPersistedUpgradableObject

Remarks

Microsoft Windows services, formerly known as NT services, enable the creation of long-running executable applications that run in their own Windows sessions. These services can be automatically started when the computer boots, can be paused and restarted, and do not show any user interface.

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

SPServiceApplication members

Microsoft.SharePoint.Administration namespace

About Services

Other resources

Windows Service Applications