Share via


SPServiceApplication.Service Property

Gets the parent service of this service application.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public ReadOnly Property Service As SPService
    Get
'Usage
Dim instance As SPServiceApplication
Dim value As SPService

value = instance.Service
public SPService Service { get; }

Property Value

Type: Microsoft.SharePoint.Administration.SPService
The parent service.

See Also

Reference

SPServiceApplication Class

SPServiceApplication Members

Microsoft.SharePoint.Administration Namespace