BackupRestoreBase Class

The BackupRestoreBase class is a base class that represents functionality that is common to both backup and restore operations.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Declaration
Public Class BackupRestoreBase
public class BackupRestoreBase
public ref class BackupRestoreBase
public class BackupRestoreBase
public class BackupRestoreBase

Remarks

The BackupRestoreBase class is used in the construction of the Restore class and the Backup class, and contains functionality that is common.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Smo.BackupRestoreBase
     Microsoft.SqlServer.Management.Smo.Backup
     Microsoft.SqlServer.Management.Smo.Restore

Example

How to: Back Up Databases and Transaction Logs in Visual Basic .NET

Thread Safety

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

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

BackupRestoreBase Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

BACKUP (Transact-SQL)
RESTORE (Transact-SQL)
Backing Up and Restoring Databases in SQL Server