Share via


SPServer.ServiceInstances Property

Gets the collection of service instances that are installed on the server.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public ReadOnly Property ServiceInstances As SPServiceInstanceCollection
    Get
'Usage
Dim instance As SPServer
Dim value As SPServiceInstanceCollection

value = instance.ServiceInstances
public SPServiceInstanceCollection ServiceInstances { get; }

Property Value

Type: Microsoft.SharePoint.Administration.SPServiceInstanceCollection
An SPServiceInstanceCollection object that represents the service instances.

See Also

Reference

SPServer Class

SPServer Members

Microsoft.SharePoint.Administration Namespace