مشاركة عبر


Database.DropBackupHistory Method

Drops the backup history for the database.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub DropBackupHistory
'Usage
Dim instance As Database

instance.DropBackupHistory()
public void DropBackupHistory()
public:
void DropBackupHistory()
member DropBackupHistory : unit -> unit
public function DropBackupHistory()

See Also

Reference

Database Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Working with Database Objects

sp_delete_database_backuphistory (Transact-SQL)

Creating, Altering, and Removing Databases

CREATE DATABASE (Transact-SQL)