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

Public ReadOnly Property Services As SPServiceCollection
    Get

Dim instance As SPFarm
Dim value As SPServiceCollection

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

Property Value

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

See Also

Reference

SPFarm Class

SPFarm Members

Microsoft.SharePoint.Administration Namespace