I am trying to monitor continuous replication status using transact sql from c# application. From my c# application i successfully start the job by using this..
exec sp_startpushsubscription_agent
@publication = 'myPublication',
@subscriber = 'my_subscriber_server_name',
@subscriber_db = 'my_subscriber_db'
Now, I want to know whether my synchronization is complete or not or any error occurred. When the process is finished i want to give a successful message to the user.
Any help?