We recommend using Visual Studio 2017

Database.DropBackupHistory Method

Drops the backup history for the database.

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

public void DropBackupHistory()
Show: