This example illustrates using sp_add_log_shipping_primary_secondary to add an entry for the secondary database LogShipAdventureWorks to the secondary server FLATIRON.
EXEC master.dbo.sp_add_log_shipping_primary_secondary
@primary_database = N'AdventureWorks'
, @secondary_server = N'flatiron'
, @secondary_database = N'LogShipAdventureWorks'
GO