SPServiceInstance.Service property

Gets the service that owns this service instance.

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

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

value = instance.Service

Property value

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