Share via


SPBackupSettings.Farm property

Gets the farm that is the source of the configuration settings for a configuration-only backup operation.

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

Syntax

'Declaration
Public Property Farm As SPFarm
    Get
    Friend Set
'Usage
Dim instance As SPBackupSettings
Dim value As SPFarm

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

Property value

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

Remarks

Configuration settings are not housed in a single backup/restore component of the farm. Hence, the farm itself is the only component of which they are all children.

See also

Reference

SPBackupSettings class

SPBackupSettings members

Microsoft.SharePoint.Administration.Backup namespace