Поделиться через


Server.DeleteBackupHistory Method

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

Замечания

Изменения текста

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.

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.

Список перегрузок

Имя 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.

См. также

Справочник

Server Class
Server Members
Microsoft.SqlServer.Management.Smo Namespace

Другие ресурсы

How to: Use an SMO Method with a Parameter in Visual Basic .NET
Резервное копирование и восстановление баз данных в SQL Server
Calling Methods
Управление серверами