문제

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