Sync Framework 2.1 - 有没有办法从数据库远程范围工件?
我目前正在将同步框架 1 的应用程序升级到版本 2。作为此过程的一部分,我使用新的范围界定系统并放弃使用 SQL Server 更改跟踪。
看来,为了为同步框架提供远程数据库,必须创建许多新表和存储过程。
如果不再需要这些人工制品,有没有办法使用 API 来删除它们?
谢谢
I am currently upgrading an application that made us of sync framework 1 to version 2. As part of this I am using the new scoping system and dropping the use of SQL Server Change Tracking.
It would appear that in order to provision a remote database for sync framework a number of new tables and stored procedures must be created.
Is there a way, using the API, to remove these artefacts should they no longer be needed?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
请参阅 http://msdn.microsoft.com/en- us/library/ff928603%28SQL.110%29.aspx
删除范围:
删除所有同步元数据工件:
如果您使用自定义架构和/或表名前缀,请不要忘记将它们添加到
SqlSyncScopeDeprovisioning
对象。See http://msdn.microsoft.com/en-us/library/ff928603%28SQL.110%29.aspx
Remove a scope:
Remove all sync metadata artifacts:
If you use a custom schema and/or prefix for table names, don't forget to add these to the
SqlSyncScopeDeprovisioning
object.