Checks each distribution database for replication agents that are running but have not logged history within the specified heartbeat interval.
sp_replication_agent_checkup [[@heartbeat_interval =] heartbeat_interval]
sp_replication_agent_checkup raises error 14151 for each agent it detects as suspect. It also logs a failure history message about the agents.
sp_replication_agent_checkup is used in snapshot, transactional, and merge replication.
Only members of the sysadmin fixed server role can execute sp_replication_agent_checkup.
System Stored Procedures |