我在哪里可以找到" Microsoft.SqlServer.BatchParser.dll"? [英] Where can i find "Microsoft.SqlServer.BatchParser.dll"?

查看:1192
本文介绍了我在哪里可以找到" Microsoft.SqlServer.BatchParser.dll"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能重复:结果
  <一href=\"http://stackoverflow.com/questions/3981027/cant-find-microsoft-sqlserver-batchparser-dll\">Can’t找到microsoft.sqlserver.batchparser.dll

我已经安装了Microsoft SQL Server 2008 R2的。

I have Microsoft SQL Server 2008 R2 installed.

我想包括 Microsoft.SqlServer.BatchParser.dll 作为Assebly在C#。但我不能找到该DLL。

I want to Include Microsoft.SqlServer.BatchParser.dll as Assebly in C#. But I cant find that dll.

如果我去我的GAC文件夹中Assebly有:

If i go to my GAC Folder the Assebly is there:

但在VS2008中引用对话框不会拿出来给我。

But the references dialog box in VS2008 won't show it to me.

在哪里可以找到或如何可以得到该DLL?

Where can i find or how can i get that dll?

推荐答案

该BatchParser是SMO的一部分。作为一个简单的规则,你决不允许重新分配,你没有自己创建的,除非明确允许的DLL。可再发行的DLL进来再次分发程序包。对于SQL Server的可再发行SMO包进来功能包的形式。对于SQL Server 2008的相应功能包被公布<一个href=\"http://blogs.technet.com/b/dataplatforminsider/archive/2008/10/18/sql-server-feature-pack-released.aspx\"相对=nofollow>此处但链接到功能组本身被打破。您可以使用Microsoft®SQLServer®上2008 R2功能包。它包含您需要包括与分发 SharedManagementObjects.msi 您的应用程序到你的目标计算机上安装所需的SMO对象。另一种方法是使用一个开源SQL批处理执行库

The BatchParser is part of SMO. As a simple rule you are never allowed to redistribute a DLL that you did not create yourself, unless explicitly allowed. Redistributable DLLs come in redistributable packages. For SQL Server the SMO redistributable packages come in form of 'feature packs'. For SQL Server 2008 the corresponding feature pack was announced here but the links to the feature pack itself are broken. You can use the Microsoft® SQL Server® 2008 R2 Feature Pack. It contains the SharedManagementObjects.msi which you need to include and distribute with your application to install the required SMO objects on your target computer. Another alternative is to use an open source SQL batch execution library.

这篇关于我在哪里可以找到&QUOT; Microsoft.SqlServer.BatchParser.dll&QUOT;?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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