Additional SQL Server features and topics not covered by specific categories
Hi @Mark Gordon ,
> I find no way to do it. Yes, you can script off the alert but that does not refer back to the value that you used in the warning to trigger it.
The threshold is set in Replication Monitor, this value is not included when scripting the alert .
About using replication Monitor or other ways to monitor replication , here is a article for your reference.
https://www.brentozar.com/archive/2014/07/monitoring-sql-server-transactional-replication/