Partager via


Méthode Server.DeleteBackupHistory

Inclure les membres protégés
Inclure les membres hérités

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

Ce membre est surchargé. Pour plus d'informations sur ce membre, notamment sur la syntaxe et l'utilisation, et pour visualiser des exemples, cliquez sur un nom dans la liste de surcharge.

Liste de surcharge

  Nom Description
Méthode publique DeleteBackupHistory(DateTime) Deletes the backup history for this instance of SQL Server up until the specified date and time.
Méthode publique DeleteBackupHistory(Int32) Deletes the backup history for the specified media set.
Méthode publique DeleteBackupHistory(String) Deletes the backup history for the specified database.

Haut de la page

Notes

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.

Voir aussi

Référence

Server Classe

Espace de noms Microsoft.SqlServer.Management.Smo