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

Syntax

'Declaration
Public Enumeration SPServerRole
'Usage
Dim instance As SPServerRole
public enum SPServerRole

Members

Member name Description
Invalid Specifies that the server does not have a registered role in the configuration database.
WebFrontEnd Specifies that the server is a front-end Web server within the SharePoint Foundation deployment.
Application Specifies that the server runs a Web application.
SingleServer Specifies that the server is the only server in the SharePoint Foundation deployment.

See Also

Reference

Microsoft.SharePoint.Administration Namespace