如何为客户端应用程序启用按需同步 [英] How to enable on-demand synchronization for client application
问题描述
嗨
我正在使用合并复制 - 在我们的一个应用程序中使用push类型来实现服务器和客户端之间的数据同步 目前,同步是在服务器上安排的。 服务器端的SQL Server版本为2012.
客户端有SQL server 2008/2012
I am using Merge replication - push type in one of our application for data synchronization between server and clients. Currently, the synchronization is scheduled at the server. The version of SQL server on the server end is 2012. The clients have SQL server 2008/2012
我正在寻找从客户端应用程序进行按需同步的选项。 我可以从客户端应用程序异步触发同步的方法。
I am looking at options to have on-demand synching from the client application. A way that I can trigger the synchronization asynchronously from the client application.
RMO是实现此目的的最佳方式吗? 是否 SQL server 2012支持此
Is the RMO the best way to achieve this? Does SQL server 2012 support this
提前感谢
Nagendra
推荐答案
我通常编译二进制文件来隐藏密码。然后,我使用Windows任务计划程序安排此操作,或者如果客户端使用SQL Server代理运行SQL Server。
I normally compile a binary to do it to hide the password. I then schedule this using Windows Task Scheduler, or if the client is running SQL Server, using SQL Server Agent.
Microsoft已弃用RMO。
RMO is being deprecated by Microsoft.
但是你可能想看看这个:
However you may want to look at this:
https://code.msdn.microsoft.com/windowsdesktop/SQL-Server-Configuring-afc2bd54
这篇关于如何为客户端应用程序启用按需同步的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!