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)
Available in Sandboxed Solutions: No

Syntax

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