Export (0) Print
Expand All

Server.DeleteBackupHistory Method

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

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

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft