Books Online (hit F1) to the rescue!
sp_change_log_shipping_primary_database
sp_change_log_shipping_secondary_database
See the @threshold_alert and threshold_alert_enabled parameters in particular.
Paul
Paul White
SQLPerformance.com
SQLkiwi blog
@SQL_Kiwi