DeleteBackupHistory 方法

删除指定日期和时间前的此 SQL Server 实例的备份历史记录。

此成员被重载。有关此成员的完整信息,包括语法、用法和示例,请单击重载列表中的名称。

重载列表

  名称 说明
公共方法 DeleteBackupHistory(DateTime) 删除指定日期和时间前的此 SQL Server 实例的备份历史记录。
公共方法 DeleteBackupHistory(Int32) 删除指定介质集的备份历史记录。
公共方法 DeleteBackupHistory(String) 删除指定数据库的备份历史记录。

页首

注释

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.