SPRestoreSettings properties

The SPRestoreSettings type exposes the following members.

Properties

  Name Description
Public property BackupDevice Gets or sets the UNC path where the backup is stored. (Inherited from SPBackupRestoreSettings.)
Public property BackupId Gets or sets the ID of the backup that is restored.
Public property BackupMethod Gets or sets the backup method that will be used or was used. (Inherited from SPBackupRestoreSettings.)
Public property ConfigurationOnly Gets or sets a value that indicates whether the backup or restore operation should include only configuration settings. (Inherited from SPBackupRestoreSettings.)
Public property FarmAdminLoginName Gets or sets the logon name of the administrator of the server farm.
Public property FarmAdminPassword Gets or sets the password of the administrator of the server farm.
Public property IndividualItem Gets or sets the content component that is backed up or restored. (Inherited from SPBackupRestoreSettings.)
Public property IsBackup Gets a value that indicates whether the operation is a backup or a restore. (Inherited from SPBackupRestoreSettings.)
Public property IsVerbose Gets or sets a value that indicates whether the output of the operation is displayed on the console in addition to being logged. (Inherited from SPBackupRestoreSettings.)
Public property PreserveContentDatabaseChangeLog Gets or sets a value that indicates whether the change log of the target content database should be preserved when a restoration overwrites the database.
Public property RestoreMethod Gets or sets a value indicating whether the restore overwrites the existing database if it already exists on the target.
Public property RestoreThreads Gets or sets the number of threads to use in the restoration operation.
Public property UpdateProgress Gets or sets a value that specifies at what points the operation should report its progress. (Inherited from SPBackupRestoreSettings.)
Public property UpgradedPersistedProperties Gets the collection of field names and values for fields that were deleted or changed. (Inherited from SPAutoSerializingObject.)

Top

See also

Reference

SPRestoreSettings class

Microsoft.SharePoint.Administration.Backup namespace