Applies To: SQL Server
Used by transactional replication during backup and restore so that the replicated data at the Distributor is synchronized with data at the Publisher. This stored procedure is executed at the Publisher on the publication database.
0 (success) or 1 (failure)
sp_replrestart is used when the highest log sequence number (LSN) value at the Distributor does match the highest LSN value at the Publisher.
Only members of the sysadmin fixed server role or db_owner fixed database role can execute sp_replrestart.