SPDatabase.CanSelectForBackup Property
Gets or sets a Boolean value that specifies whether the database object and its children can be selected for a backup 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 CanSelectForBackup As Boolean
Get
Set
'Usage
Dim instance As SPDatabase
Dim value As Boolean
value = instance.CanSelectForBackup
instance.CanSelectForBackup = value
public virtual bool CanSelectForBackup { get; set; }
Property Value
Type: System.Boolean
true if the object can be selected; otherwise, false. The default value is true.
Implements
IBackupRestore.CanSelectForBackup
Remarks
The database object is automatically backed up if the server farm is selected for backup.
The CanSelectForBackup property implements the CanSelectForBackup property that is defined in the Microsoft.SharePoint.Administration.Backup.IBackupRestore interface for the SPDatabase class.