SPServiceInstance.Service property

Obtém o serviço que possui essa instância de serviço.

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

Syntax

'Declaração
Public ReadOnly Property Service As SPService
    Get
'Uso
Dim instance As SPServiceInstance
Dim value As SPService

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

Property value

Type: Microsoft.SharePoint.Administration.SPService
Um objeto SPService que representa o serviço.

Ver também

Referência

SPServiceInstance class

SPServiceInstance members

Microsoft.SharePoint.Administration namespace