简体   繁体   中英

How to show the window “Add connection” from the extension for Visual Studio?

I am developing extensions ( VSPackage ) for Visual Studio .

I need to show the window "Add Connection".

How can I do that?

I looked for it at MSDN , but nowhere found examples of work with such windows. Also the variant of displaying the window "Data Source Selection" can suit me. I do not need the window "Server Explorer".

There are several IVsDataXXX interfaces, that can vary among VS versions. See these articles that I wrote long time ago:

HOWTO: Using the Choose Data Source dialog of Visual Studio 2005 from your own code

HOWTO: Get data sources, data providers and data connections from a Visual Studio 2005 add-in

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM