SPServer.ServiceInstances property

Obtém a coleção de instâncias de serviço que estão instalados no servidor.

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

Syntax

'Declaração
Public ReadOnly Property ServiceInstances As SPServiceInstanceCollection
    Get
'Uso
Dim instance As SPServer
Dim value As SPServiceInstanceCollection

value = instance.ServiceInstances
public SPServiceInstanceCollection ServiceInstances { get; }

Property value

Type: Microsoft.SharePoint.Administration.SPServiceInstanceCollection
Um objeto SPServiceInstanceCollection que representa as instâncias de serviço.

Ver também

Referência

SPServer class

SPServer members

Microsoft.SharePoint.Administration namespace