다음을 통해 공유


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.

See also

Reference

SPServiceApplication class

SPServiceApplication members

Microsoft.SharePoint.Administration namespace