Server.DeleteBackupHistory Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DeleteBackupHistory(DateTime) |
Deletes the entries in the backup and restore history tables for backup sets older than oldestDate |
DeleteBackupHistory(Int32) |
Deletes the entries in the backup and restore history tables for backup sets on mediaSetID |
DeleteBackupHistory(String) |
Deletes the entries in the backup and restore history tables for database |
DeleteBackupHistory(DateTime)
Deletes the entries in the backup and restore history tables for backup sets older than oldestDate
public void DeleteBackupHistory (DateTime oldestDate);
member this.DeleteBackupHistory : DateTime -> unit
Public Sub DeleteBackupHistory (oldestDate As DateTime)
Parameters
- oldestDate
- DateTime
Applies to
DeleteBackupHistory(Int32)
Deletes the entries in the backup and restore history tables for backup sets on mediaSetID
public void DeleteBackupHistory (int mediaSetId);
member this.DeleteBackupHistory : int -> unit
Public Sub DeleteBackupHistory (mediaSetId As Integer)
Parameters
- mediaSetId
- Int32
Applies to
DeleteBackupHistory(String)
Deletes the entries in the backup and restore history tables for database
public void DeleteBackupHistory (string database);
member this.DeleteBackupHistory : string -> unit
Public Sub DeleteBackupHistory (database As String)
Parameters
- database
- String