SPPersistedObject.Farm Property (Microsoft.SharePoint.Administration)
Gets the server farm where the object lives.

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

Visual Basic (Declaration)
Public ReadOnly Property Farm As SPFarm
Visual Basic (Usage)
Dim instance As SPPersistedObject
Dim value As SPFarm

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

Property Value

An SPFarm object that represents the server farm.
See Also

Tags :


Page view tracker