Question

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.

Était-ce utile?

La solution

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).

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top