Partilhar via


Server.DeleteBackupHistory Method

Definition

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

Applies to