SPServer.Role Property

Gets the role of the server.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

public SPServerRole Role { get; set; }

Property Value

Type: Microsoft.SharePoint.Administration.SPServerRole
An SPServerRole value that indicates the role of the server.
Show:
© 2015 Microsoft