SPBackupRestoreConsole methods

The SPBackupRestoreConsole type exposes the following members.

  Name Description
Public method Static member Abort Cancels the backup or restore operation with the specified ID.
Public method Static member CreateBackupRestore(SPBackupRestoreSettings) Creates a backup or restore operation and assigns it an ID.
Public method Static member CreateBackupRestore(SPBackupRestoreSettings, Boolean) Creates a backup or restore operation and assigns it an ID.
Public method Static member DatabaseExists Gets a value that indicates whether the specified database exists on the specified server and can be read by the specified user.
Public method Static member DiskSize Gets (as out parameters) the total disk space on a volume and the amount of that space that is available to the user.
Public method Static member DiskSizeRequired(Guid) Gets the amount of disk space needed to backup the entire tree of components in the specified backup operation.
Public method Static member DiskSizeRequired(Guid, SPBackupRestoreObject) Gets the amount of disk space needed to backup the specified node (and its children) in the tree of components in the specified backup operation.
Public method Static member DiskSizeRequired(Guid, Boolean) Gets the amount of disk space needed to backup the entire tree of components in the specified backup operation.
Public method Static member DiskSizeRequired(Guid, SPBackupRestoreObject, Boolean) Gets the amount of disk space needed to backup the specified node (and its children) in the tree of components in the specified backup operation.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method Static member FindItems Gets the specified SharePoint Foundation components from the specified backup or restore operation.
Public method Static member FormatTree Gets a tree view of the hierarchy of SharePoint Foundation components in the backup or restore operation down to the level of the content databases.
Public method Static member Get Gets the operation (represented by a SPBackupRestoreConsoleObject) with the specified ID.
Public method GetHashCode (Inherited from Object.)
Public method Static member GetHistory(String) Gets a list of all backup and restore operations made to (or from) the specified location.
Public method Static member GetHistory(String, Boolean) Gets a list of all backup operations made to the specified location or all restore operations made from the location.
Public method Static member GetRestoreRenameList Creates, from the specified component and its children, a collection of restorable components that can be renamed when restored.
Public method Static member GetRoot Gets the root component of the tree of components that are being backed up or restored in the operation that is identified by the specified Guid.
Public method GetType (Inherited from Object.)
Public method Static member GetUserNamePasswordList Gets a collection of all the components in the backup or restore operation that require a username and password.
Protected method MemberwiseClone (Inherited from Object.)
Public method Static member Remove Removes an item from the internal collection of backup and restore operations.
Public method Static member ReOrderRenameListByAppPool Returns an object that groups the specified components to be backed up or restored by the ID of their application pool.
Public method Static member RequiresRename Gets a value that indicates whether a restore operation's method is creating a new copy of the backed up components (in which case the components must be renamed) or is overwriting an existing version.
Public method Static member Run Launches a backup or restore operation for the specified component.
Public method Static member SetActive Sets the specified operation as the current operation.
Public method Static member SetOnlyBackupRestoreItem Specifies that only the specified component and its children will be the backed up or restored.
Public method ToString (Inherited from Object.)
Public method Static member UsingNetworkServices Gets a value that indicates whether the backup or restore operation uses the Network Service account.
Top
Show: