1 out of 1 rated this helpful - Rate this topic

SPFarm.Local Property

Gets an object that represents the local server farm.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
public static SPFarm Local { get; }

Property Value

Type: Microsoft.SharePoint.Administration.SPFarm
An SPFarm object that represents the local server farm.

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

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ