Share via


SPBackupRestoreSettings.ConfigurationOnly property

Gets or sets a value that indicates whether the backup or restore operation should include only configuration settings.

Namespace:  Microsoft.SharePoint.Administration.Backup
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property ConfigurationOnly As Boolean
    Get
    Set
'Usage
Dim instance As SPBackupRestoreSettings
Dim value As Boolean

value = instance.ConfigurationOnly

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

Property value

Type: System.Boolean
true to include only configuration settings; otherwise, false.

Remarks

For more information about configuration-only backups and restorations, see How to: Create a Class That Is Included in Configuration-only Backups and Restorations and IBackupRestoreConfiguration.

See also

Reference

SPBackupRestoreSettings class

SPBackupRestoreSettings members

Microsoft.SharePoint.Administration.Backup namespace

IBackupRestoreConfiguration

Other resources

How to: Create a Class That Is Included in Configuration-only Backups and Restorations