Share via


SPBackupRestoreInformation class

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

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.Backup.SPBackupRestoreInformation
    Microsoft.SharePoint.Administration.Backup.SPBackupInformation
    Microsoft.SharePoint.Administration.Backup.SPRestoreInformation

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public MustInherit Class SPBackupRestoreInformation
'Usage
Dim instance As SPBackupRestoreInformation
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public abstract class SPBackupRestoreInformation

Remarks

Microsoft does not support deriving new classes from SPBackupRestoreInformation. Use only the existing derived classes, SPBackupInformation and SPRestoreInformation.

There is a one-to-one mapping between objects of type SPBackupRestoreInformation and objects of type IBackupRestore. Each provides a part of the information needed to process a backup or restore of a particular type of content component. Objects of these two types are referenced, respectively, in the Information and IBackupRestore properties of a SPBackupRestoreObject object. The latter class, in addition to acting as a container for the correlated SPBackupRestoreInformation and IBackupRestore objects, provides helper functions for SPBackupRestoreConsoleObject objects

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

SPBackupRestoreInformation members

Microsoft.SharePoint.Administration.Backup namespace