Share via


SPSolution.Farm Property

The farm on which this solution is installed.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

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

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

Property Value

Type: Microsoft.SharePoint.Administration.SPFarm
An SPFarm object.

See Also

Reference

SPSolution Class

SPSolution Members

Microsoft.SharePoint.Administration Namespace