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)
Syntax
'Declaration
Public Overridable ReadOnly Property ServiceInstances As SPPersistedObjectCollection(Of SPServiceInstance)
Get
'Usage
Dim instance As SPServiceApplication
Dim value As SPPersistedObjectCollection(Of SPServiceInstance)
value = instance.ServiceInstances
public virtual SPPersistedObjectCollection<SPServiceInstance> ServiceInstances { get; }
Property value
Type: Microsoft.SharePoint.Administration.SPPersistedObjectCollection<SPServiceInstance>
The list of service instances.