SPServer.ServiceInstances property

Gets the collection of service instances that are installed on the server.

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


Public ReadOnly Property ServiceInstances As SPServiceInstanceCollection
Dim instance As SPServer
Dim value As SPServiceInstanceCollection

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

Property value

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

See also


SPServer class

SPServer members

Microsoft.SharePoint.Administration namespace