Share via


SPFarm.Services property

Gets the collection of all services that are in the server farm.

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

Syntax

'Declaration
Public ReadOnly Property Services As SPServiceCollection
    Get
'Usage
Dim instance As SPFarm
Dim value As SPServiceCollection

value = instance.Services
public SPServiceCollection Services { get; }

Property value

Type: Microsoft.SharePoint.Administration.SPServiceCollection
An SPServiceCollection object that represents all the services that are in the server farm.

See also

Reference

SPFarm class

SPFarm members

Microsoft.SharePoint.Administration namespace