Share via


SPServerRole Enumeration

Specifies the role of the server with respect to the Windows SharePoint Services deployment.

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

Syntax

Public Enumeration SPServerRole

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 Windows SharePoint Services deployment.
Application Specifies that the server runs a Web application.
SingleServer Specifies that the server is the only server in the Windows SharePoint Services deployment.

See Also

Reference

Microsoft.SharePoint.Administration Namespace