I have Merge replication setup with Push subscriptions. I read the following article: Implementing a replication agent progress bar It is working fine if I initiate the agent from the subscriber, but the Status event of the MergeSynchronizationAgent Class is showing only status updates for the sessions that the client has initiated! In short: I am looking for the same behavior that the default replication windows shows.

有帮助吗?

解决方案

I wrote that post to demonstrate how to synchronize a Merge Pull subscriptions using RMO, handling the MergeSynchronizationAgent Status Event to implement a progress bar with agent status messages.

To get this working with Merge Push subscriptions, you will need to utilize the MergeSubscription class. Please see the section To synchronize a push subscription to a merge publication in How to: Synchronize a Push Subscription (RMO Programming).

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top