Condividi tramite


Metodo Server.DeleteBackupHistory

Include i membri protetti
Include i membri ereditati

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

Questo membro è sottoposto a overload. Per informazioni complete su questo membro, inclusi sintassi, utilizzo ed esempi, fare clic su un nome nell'elenco di overload.

Elenco degli overload

  Nome Descrizione
Metodo pubblico DeleteBackupHistory(DateTime) Deletes the backup history for this instance of SQL Server up until the specified date and time.
Metodo pubblico DeleteBackupHistory(Int32) Deletes the backup history for the specified media set.
Metodo pubblico DeleteBackupHistory(String) Deletes the backup history for the specified database.

In alto

Osservazioni

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.

Vedere anche

Riferimento

Server Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo