Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SPFarm.Local property

Gets an object that represents the local server farm.

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

'Declaration
Public Shared ReadOnly Property Local As SPFarm
	Get
'Usage
Dim value As SPFarm

value = SPFarm.Local

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.

Show:
© 2015 Microsoft