SPServer::Role property
SharePoint 2013
Gets the role of the server.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Property value
Type: Microsoft.SharePoint.Administration.SPServerRoleAn SPServerRole value that indicates the role of the server.
Show: