SPService::Instances property
SharePoint 2013
Gets a collection of all instances of the service in the server farm.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Property value
Type: Microsoft.SharePoint.Administration.SPServiceInstanceDependencyCollectionAn SPServiceInstanceDependencyCollection object that represents the service instances.
Show: