SPServer.Local Property

Gets the local server, which must be joined to the server farm.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

Public Shared ReadOnly Property Local As SPServer
    Get

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.

See Also

Reference

SPServer Class

SPServer Members

Microsoft.SharePoint.Administration Namespace