SPFarm.Local Property (Microsoft.SharePoint.Administration)
Gets an object that represents the local server farm.

Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Syntax

Visual Basic (Declaration)
Public Shared ReadOnly Property Local As SPFarm
Visual Basic (Usage)
Dim value As SPFarm

value = SPFarm.Local
C#
public static SPFarm Local { get; }

Property Value

An SPFarm object that represents the local server farm.
Remarks

You must be connected to one of the front-end Web servers to get this information.

See Also

Tags :


Page view tracker