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)


Public ReadOnly Property Services As SPServiceCollection
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


SPFarm class

SPFarm members

Microsoft.SharePoint.Administration namespace