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)
Available in Sandboxed Solutions: No

public enum SPServerRole

Member nameDescription
InvalidSpecifies that the server does not have a registered role in the configuration database.
WebFrontEndSpecifies that the server is a front-end Web server within the SharePoint Foundation deployment.
ApplicationSpecifies that the server runs a Web application.
SingleServerSpecifies that the server is the only server in the SharePoint Foundation deployment.