SPServerRole enumeration
TOC
Collapse the table of content
Expand the table of content

SPServerRole enumeration

Specifies the role of the server with respect to the Microsoft SharePoint Foundation deployment.

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

public enum SPServerRole

Member nameDescription
InvalidSpecifies that the server does not have a registered role in the configuration database. This value is typically used to represent servers that are outside of the SharePoint farm.
WebFrontEndSpecifies that the server is a front-end Web server within the SharePoint Foundation deployment, and that the server is optimized for low request latency.
ApplicationSpecifies that the server is for back end jobs and is optimized for high throughput.
SingleServerObsolete. Specifies that the server is the only server in the SharePoint Foundation deployment.Do not use in SharePoint 2016 and later. Use SingleServerFarm instead.
SingleServerFarmAvailable in SharePoint 2016 and later. Specifies that the server is the only server in the SharePoint Foundation deployment.
DistributedCacheAvailable in SharePoint 2016 and later. Specifies that the server hosts a distributed cache and optionally routes web requests.
SearchAvailable in SharePoint 2016 and later. Specifies that the server hosts Search services.
CustomAvailable in SharePoint 2016 and later. Specifies that the server does not participate in the MinRole experience, in which services are automatically deployed to servers added to the farm based on their role. The SharePoint farm administrator must manually manage which service instances are provisioned on the server.
Show:
© 2016 Microsoft