Compartir a través de


Server.DeleteBackupHistory Method

Deletes the backup history for this instance of Microsoft SQL Server up until the specified date and time.

Notas

Texto actualizado:

This method has three overloads that let you delete the backup history that is stored on the instance of SQL Server. You can do this by specifying a cutoff date, a media set, the name of a database.

Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.

Lista de sobrecargas

Nombre Description
Server.DeleteBackupHistory (DateTime)
Deletes the backup history for this instance of Microsoft SQL Server up until the specified date and time.
Server.DeleteBackupHistory (Int32)
Deletes the backup history for the specified media set.
Server.DeleteBackupHistory (String)
Deletes the backup history for the specified database.

Vea también

Referencia

Server Class
Server Members
Microsoft.SqlServer.Management.Smo Namespace

Otros recursos

How to: Use an SMO Method with a Parameter in Visual Basic .NET
Realizar copias de seguridad y restaurar bases de datos en SQL Server
Calling Methods
Administrar servidores