共用方式為


DeleteBackupHistory 方法

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

多載清單 

  名稱 描述
公用方法 DeleteBackupHistory(DateTime) Deletes the backup history for this instance of SQL Server up until the specified date and time.
公用方法 DeleteBackupHistory(Int32) Deletes the backup history for the specified media set.
公用方法 DeleteBackupHistory(String) Deletes the backup history for the specified database.

頂端

備註

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.