Server.DeleteBackupHistory Method
Deletes the backup history for this instance of Microsoft SQL Server up until the specified date and time.
Osservazioni
Testo aggiornato:
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.
Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.
Elenco degli overload
Nome | Description |
---|---|
Server.DeleteBackupHistory (DateTime) |
Deletes the backup history for this instance of Microsoft SQL Server up until the specified date and time.
|
Server.DeleteBackupHistory (Int32) |
Deletes the backup history for the specified media set.
|
Server.DeleteBackupHistory (String) |
Deletes the backup history for the specified database.
|
Vedere anche
Riferimento
Server Class
Server Members
Microsoft.SqlServer.Management.Smo Namespace
Altre risorse
How to: Use an SMO Method with a Parameter in Visual Basic .NET
Backup e ripristino di database in SQL Server
Calling Methods
Gestione dei server