共用方式為


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