-->

Use different SMO version in the same VB.net appli

2019-09-07 04:36发布

问题:

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.



标签: vb.net smo