Share via


SPServiceInstance.Service property

Gets the service that owns this service instance.

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

Syntax

public SPService Service { get; }

Property value

Type: Microsoft.SharePoint.Administration.SPService
An SPService object that represents the service.

See also

Reference

SPServiceInstance class

SPServiceInstance members

Microsoft.SharePoint.Administration namespace