C# 在哪里可以找到有关为 SQL Server Management Studio 创建插件的信息?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/157546/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-03 16:04:30  来源:igfitidea点击:

Where can i find information on creating plugins for SQL Server Management Studio?

提问by James

I have read that while plug-ins are not supported for SQL Server Management Studio, it can be done.

我已经读过,虽然 SQL Server Management Studio 不支持插件,但可以做到。

Does anyone have any resources or advice on how to go about it using C#?

有没有人有关于如何使用 C# 进行操作的任何资源或建议?

A company that is currently offering plug-ins to Management Studio is Red Gate: http://www.red-gate.com/products/SQL_Refactor/index.htm

目前为 Management Studio 提供插件的公司是 Red Gate:http: //www.red-gate.com/products/SQL_Refactor/index.htm

采纳答案by Mladen

Here's a listof a lot of free tools for sql server. at the top you have the section that holds stuff about add-ins from SSMS.

这里列出了很多 sql server 的免费工具。在顶部,您有一个部分,其中包含有关 SSMS 加载项的内容。

You might also want to check out SSMS Tools Packwhich is an add-in I made. It's free but not open sourced.

您可能还想查看SSMS 工具包,这是我制作的一个插件。它是免费的,但不是开源的。

回答by Niels Brinch

Here is a very good guide to creating a plugin for SQL Server Management Studio: http://blogs.microsoft.co.il/blogs/shair/archive/2008/07/28/how-to-create-sql-server-management-studio-addin.aspx

这是为 SQL Server Management Studio 创建插件的非常好的指南:http: //blogs.microsoft.co.il/blogs/shair/archive/2008/07/28/how-to-create-sql-server- management-studio-addin.aspx

Basically, it consists of the following:

基本上,它包括以下内容:

  1. Create a Visual Studio add-in with certain settings.
  2. Subscribe to SSMS specific events
  3. Code
  1. 创建具有特定设置的 Visual Studio 加载项。
  2. 订阅 SSMS 特定事件
  3. 代码

The article includes a nice sample that you can use to skip some of the manual steps.

本文包含一个不错的示例,您可以使用它跳过一些手动步骤。