SPServer.Local property
SharePoint 2013
Gets the local server where the object model code is running, which must be joined to the server farm.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Property value
Type: Microsoft.SharePoint.Administration.SPServerAn SPServer object that represents the server.