Condividi tramite


SPDatabase.CanSelectForRestore Property

Gets or sets a Boolean value that specifies whether this object and its children can be selected for a restore operation 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 Overridable Property CanSelectForRestore As Boolean
    Get
    Set
'Usage
Dim instance As SPDatabase
Dim value As Boolean

value = instance.CanSelectForRestore

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

Property Value

Type: System.Boolean
true if the object can be selected; otherwise, false. The default value is true.

Implements

IBackupRestore.CanSelectForRestore

Remarks

The database object is automatically restored if the server farm is selected for a restore operation.

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

See Also

Reference

SPDatabase Class

SPDatabase Members

Microsoft.SharePoint.Administration Namespace