Reference Microsoft.SqlServer.Smo.dll

前端 未结 11 1309
轮回少年
轮回少年 2020-12-04 11:59

I need to use Server class which is stored in Microsoft.SqlServer.Smo.dll I don\'t see this assembly in usual References dialog. I have found it at C:/Program Files/Microsof

11条回答
  •  抹茶落季
    2020-12-04 12:41

    You can use: https://www.nuget.org/packages/Microsoft.SqlServer.SqlManagementObjects see installation info: https://docs.microsoft.com/nl-be/sql/relational-databases/server-management-objects-smo/installing-smo

    but no idea if this is redistributable...

    as it only talks about design, develop and testing:

    1. INSTALLATION AND USE RIGHTS. You may install and use any number of copies of the software on your devices to design, develop and test your programs.

    https://docs.microsoft.com/nl-be/sql/relational-databases/server-management-objects-smo/smo-license-terms

提交回复
热议问题