SSIS加载项扩展任务上下文菜单 [英] SSIS Add-in extend task context menu

查看:86
本文介绍了SSIS加载项扩展任务上下文菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尽力在执行SQL任务"控制流项目的上下文菜单中添加菜单项.
有人有任何想法吗?
我有一个插件这几乎完成了,我需要能够打开由SSMS中的任务调用的存储过程.
我已经完成了打开过程以进行编辑并从TFS中检出所有代码,现在我只是需要添加上下文菜单选项.

I am at my wits end trying to add a menuitem ti the context menu on an 'Execute SQL task' control flow item.
Does any one have any ideas?
I have an add-in that is almost done and I need the ability to open the stored procedure that is called by the task in SSMS.
I have all the code done for opening the procedure for edit and checking it out of TFS, now I just need to add the context menu option.

推荐答案

您好,

感谢使用MSDN论坛.

我恐怕您无法将菜单添加到不支持的SSIS菜单中.

Visual Studio支持通过IDE将菜单命令添加到预定义菜单中,该命令在以下位置进行了描述:
Hello,

Thanks for using MSDN forum.

I am afraid that you can't add your menu into SSIS menu, which is not supported.

Visual Studio supports to add menu command into predefined menus by IDE, which is described at: http://msdn.microsoft.com/en-us/library/cc826118.aspx

As you see, the list only includes common menus in the main menu strip. However, the context menu on the SSIS control flow designer is defined by Business Intelligence Visual Studio intergration package. Its menu ids are private.

In addition, I don't find any public automation object or interface from Business Intelligence Visual Studio intergration package.

It seems that put the command to the main menu strip or toolbar is the correct way. Thanks.


这篇关于SSIS加载项扩展任务上下文菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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