Gets the server farm where the object lives.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in microsoft.sharepoint.dll)
Visual Basic (Declaration)
Public ReadOnly Property Farm As SPFarm
Dim instance As SPPersistedObject
Dim value As SPFarm
value = instance.Farm
public SPFarm Farm { get; }
Property Value
An SPFarm object that represents the server farm.