Microsoft.SqlServer.Management.Smo命名空间出现问题 [英] problem with Microsoft.SqlServer.Management.Smo namespace

查看:541
本文介绍了Microsoft.SqlServer.Management.Smo命名空间出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的项目中,朋友们我想创建服务器类的对象,为此,我想添加Microsoft.SqlServer.Management.Smo命名空间,但是我没有在添加引用窗口中获取它,而是添加了Microsoft.SqlServer. smo,connectionInfo命名空间,但是Microsoft.SqlServer.Management.Smo,此名称空间无法获取,我正在使用sql 2008,该怎么办.thanks

hi friends in my project i want to create an object of server class so for that i want to add Microsoft.SqlServer.Management.Smo name space but i am not getting it in add reference window I have add Microsoft.SqlServer.Smo ,connectionInfo namespaces but Microsoft.SqlServer.Management.Smo this name space is not getting I am using sql 2008 so what to do .thanks

推荐答案

Right click on project>>Add reference>>click browse button find the below path
C:\Program Files\Microsoft SQL Server\90\SDK\Assemblies

Microsoft.SqlServer.Smo.dll

add the reference


这篇关于Microsoft.SqlServer.Management.Smo命名空间出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆