Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the role of the local server.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Shared ReadOnly Property LocalServerRole As SPServerRole
Get
'Usage
Dim value As SPServerRole
value = SPServer.LocalServerRole
public static SPServerRole LocalServerRole { get; }
Property Value
Type: Microsoft.SharePoint.Administration.SPServerRole
An SPServerRole value that indicates the role of the local server.