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 local server where the object model code is running, which must be joined to the server farm.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Shared ReadOnly Property Local As SPServer
Get
'Usage
Dim value As SPServer
value = SPServer.Local
public static SPServer Local { get; }
Property Value
Type: Microsoft.SharePoint.Administration.SPServer
An SPServer object that represents the server.