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)
Available in Sandboxed Solutions: No

public SPServiceInstanceCollection ServiceInstances { get; }

Property Value

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