共用方式為


SPFarm.CanSelectForBackup Property

Gets or sets a Boolean value that specifies whether the server farm can be selected for backup in the Central Administration user interface.

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

Syntax

'Declaration
Public Property CanSelectForBackup As Boolean
    Get
    Set
'Usage
Dim instance As SPFarm
Dim value As Boolean

value = instance.CanSelectForBackup

instance.CanSelectForBackup = value
public bool CanSelectForBackup { get; set; }

Property Value

Type: System.Boolean
This value is always true.

Implements

IBackupRestore.CanSelectForBackup

Remarks

When the server farm is selected for backup, all its children are automatically included in the backup.

The CanSelectForBackup property implements the CanSelectForBackup property that is defined in the Microsoft.SharePoint.Administration.Backup.IBackupRestore interface for the SPFarm class.

See Also

Reference

SPFarm Class

SPFarm Members

Microsoft.SharePoint.Administration Namespace