SPServiceApplication::ServiceInstances property

Gets a list of the service instances hosting this service application.

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

No code example is currently available or this language may not be supported.
Show: