Use different SMO version in the same VB.net application?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-13 07:39:08

问题


The SMO-libraries are for a specific version of SQL Server.

So , is there any possibility to use different SMO libraries , in the same VB.net application in order that my application works regardless of SQL server version?

Thank you !


回答1:


Yes! You can use older version of SMO-libraries for both servers. I used SMO-libraries from SQL Server 2008R2 in C# apllication and powershell script to migrate DB from 2008R2 to SQL Server 2005. Thus, there shan't be problems and when using VB.net.



来源:https://stackoverflow.com/questions/30405626/use-different-smo-version-in-the-same-vb-net-application

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!