Start replication agents programmatically | SQL Server Performance Forums

SQL Server Performance Forum – Threads Archive

Start replication agents programmatically

Hi all, Do anyone of you know how to start replication agents programmatically?

I think you can achieve that by using DMO in the first place or use PROFILER while starting the agents from EM to check underline code used. Satya SKJ
Microsoft SQL Server MVP
Contributing Editor & Forums Moderator
This posting is provided “AS IS” with no rights for the sake of knowledge sharing.
I see, thanks for your guidance.<br />I will try that out [<img src=’/community/emoticons/emotion-1.gif’ alt=’:)‘ />]