SPService.Instances property

Gets a collection of all instances of the service in the server farm.

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

public SPServiceInstanceDependencyCollection Instances { get; }
Show: