다음을 통해 공유


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)

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