共用方式為


SPFarm.CanSelectForRestore Property

Gets or sets a Boolean value that specifies whether the server farm can be selected for restore operations 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 CanSelectForRestore As Boolean
    Get
    Set
'Usage
Dim instance As SPFarm
Dim value As Boolean

value = instance.CanSelectForRestore

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

Property Value

Type: System.Boolean
This value is always true.

Implements

IBackupRestore.CanSelectForRestore

Remarks

When the server farm is selected for a restore operation, all of its children are automatically included in the operation. The SharePoint Foundation configuration database will not be restored, even if it was backed up.

The CanSelectForRestore property implements the CanSelectForRestore 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