Share via


SPPersistedObject.Farm property

Gets the server farm where the object resides.

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

Syntax

'Declaration
Public ReadOnly Property Farm As SPFarm
    Get
'Usage
Dim instance As SPPersistedObject
Dim value As SPFarm

value = instance.Farm
public SPFarm Farm { get; }

Property value

Type: Microsoft.SharePoint.Administration.SPFarm
The server farm.

See also

Reference

SPPersistedObject class

SPPersistedObject members

Microsoft.SharePoint.Administration namespace