Share via


SPSolution.Farm property

The farm on which this solution is installed.

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

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