sp_delete_log_shipping_primary_secondary (Transact-SQL)
SQL Server 2008
Removes the entry for a secondary database on the primary server.
In the following example, sp_delete_log_shipping_primary_secondary is used to delete the secondary database LogShipAdventureWorks from the secondary server FLATIRON.
EXEC master.dbo.sp_delete_log_shipping_primary_secondary @primary_database = N'AdventureWorks' ,@secondary_server = N'FLATIRON' ,@secondary_database = N'LogShipAdventureWorks' GO
