Compartilhar via


SPBackupRestoreInformation Members

Include Protected Members
Include Inherited Members

Provides information about a backup or restore job that is running or has just completed.

The SPBackupRestoreInformation type exposes the following members.

Properties

  Name Description
Public property BackupMethod Gets the backup method of the job.
Public property BackupRestoreRoot Gets the highest level content component in the backup object.
Public property Children Gets the immediate children of the backup object.
Public property CurrentProgress Gets or sets, as a percentage of the whole job, the degree to which the backup or restore operation is complete.
Public property FailureMessage Gets or sets a message explaining why the operation has failed.
Public property IsBackup Gets a value that specifies whether the operation is a backup or a restore.
Public property IsFailure Gets a value that indicates whether the operation has failed.
Public property IsRestart Obsolete. Do not use.
Public property LastUpdate Gets a value that specifies the last time CurrentProgress was updated.
Public property Location Gets the Universal Naming Convention (UNC) path where the backup is stored.
Public property ObjectGroup Gets or sets a name for a group of objects that can be backed up so that they do not have to be individually listed in a UI as selectable items for a backup or restore operation.
Public property Parameters Gets a set of parameters for backup or restore operations.
Public property Parent Gets the parent backup object of the current operation's backup object.
Public property Self Gets or sets the backup object that is the result of the current operation (if the operation is a backup), or is the source of the current operation (if the operation is a restore).
Public property UpdateProgress Gets a value that specifies at what points the operation should report its progress.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GenerateFileMapping Generates a unique name for the backup file that contains the specified source file.
Public method GetHashCode (Inherited from Object.)
Public method GetParameter Returns the value assigned to the specified key in an internal store of key-value pairs.
Public method GetParameterObject Get the value for the parameter with the specified name.
Public method GetType (Inherited from Object.)
Public method Log(SqlCommand) Writes the specified SqlCommand as a string to the backup or restore log file.
Public method Log(SPBackupRestoreLogSeverity, String) Writes an error, warning, or informational message to the administration log file.
Protected method MemberwiseClone (Inherited from Object.)
Public method ReverseFileMapping Gets the name of the backup file that contains the specified file.
Public method SetInputValue Sets the specified parameter to the specified value, which should be input from a user.
Public method SetParameter Adds the specified key-value pair to an internal store of parameters.
Public method SetUserNamePassword Assigns the specified password to the specified user.
Public method ToString (Inherited from Object.)

Top

See Also

Reference

SPBackupRestoreInformation Class

Microsoft.SharePoint.Administration.Backup Namespace