Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Include Protected Members
Include Inherited Members
Provides static methods for running and managing backup and restore operations.
The SPBackupRestoreConsole type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() ![]() |
CurrentItem | The place number, in the sequence of cfomponents that are part of the current operation, of the component currently being backed up or restored. |
![]() ![]() |
CurrentlyRunning | Gets an object that represents the currently running backup or restore operation. |
![]() ![]() |
CurrentPhase | Gets a value that indicates the current phase of the backup or restore operation. |
![]() ![]() |
CurrentTotalItems | The number of components being backed up or restored in the current operation. |
Top
Methods
Name | Description | |
---|---|---|
![]() ![]() |
Abort | Cancels the backup or restore operation with the specified ID. |
![]() ![]() |
CreateBackupRestore(SPBackupRestoreSettings) | Creates a backup or restore operation and assigns it an ID. |
![]() ![]() |
CreateBackupRestore(SPBackupRestoreSettings, Boolean) | Creates a backup or restore operation and assigns it an ID. |
![]() ![]() |
DatabaseExists | Gets a value that indicates whether the specified database exists on the specified server and can be read by the specified user. |
![]() ![]() |
DiskSize | Gets (as out parameters) the total disk space on a volume and the amount of that space that is available to the user. |
![]() ![]() |
DiskSizeRequired(Guid) | Gets the amount of disk space needed to backup the entire tree of components in the specified backup operation. |
![]() ![]() |
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. |
![]() ![]() |
DiskSizeRequired(Guid, Boolean) | Gets the amount of disk space needed to backup the entire tree of components in the specified backup operation. |
![]() ![]() |
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. |
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() ![]() |
FindItems | Gets the specified SharePoint Foundation components from the specified backup or restore operation. |
![]() ![]() |
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. |
![]() ![]() |
Get | Gets the operation (represented by a SPBackupRestoreConsoleObject) with the specified ID. |
![]() |
GetHashCode | (Inherited from Object.) |
![]() ![]() |
GetHistory(String) | Gets a list of all backup and restore operations made to (or from) the specified location. |
![]() ![]() |
GetHistory(String, Boolean) | Gets a list of all backup operations made to the specified location or all restore operations made from the location. |
![]() ![]() |
GetRestoreRenameList | Creates, from the specified component and its children, a collection of restorable components that can be renamed when restored. |
![]() ![]() |
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. |
![]() |
GetType | (Inherited from Object.) |
![]() ![]() |
GetUserNamePasswordList | Gets a collection of all the components in the backup or restore operation that require a username and password. |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() ![]() |
Remove | Removes an item from the internal collection of backup and restore operations. |
![]() ![]() |
ReOrderRenameListByAppPool | Returns an object that groups the specified components to be backed up or restored by the ID of their application pool. |
![]() ![]() |
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. |
![]() ![]() |
Run | Launches a backup or restore operation for the specified component. |
![]() ![]() |
SetActive | Sets the specified operation as the current operation. |
![]() ![]() |
SetOnlyBackupRestoreItem | Specifies that only the specified component and its children will be the backed up or restored. |
![]() |
ToString | (Inherited from Object.) |
![]() ![]() |
UsingNetworkServices | Gets a value that indicates whether the backup or restore operation uses the Network Service account. |
Top