sp_cleanup_log_shipping_history (Transact-SQL)
SQL Server 2005
This stored procedure cleans up history locally and on the monitor server based on retention period.
Transact-SQL Syntax Conventions
Reference
System Stored Procedures (Transact-SQL)Other Resources
Log ShippingLog Shipping Tables and Stored Procedures