共用方式為


IVsDataConnectionDialog.ShowDialog 方法

顯示 [加入資料連接] 對話方塊之前所使用的資料提供者和連接字串設定。

命名空間:  Microsoft.VisualStudio.Data.Services
組件:  Microsoft.VisualStudio.Data.Services (在 Microsoft.VisualStudio.Data.Services.dll 中)

語法

'宣告
Function ShowDialog As Boolean
bool ShowDialog()
bool ShowDialog()
abstract ShowDialog : unit -> bool
function ShowDialog() : boolean

傳回值

類型:Boolean
true ,如果對話方塊傳回 OK;否則, false。

.NET Framework 安全性

請參閱

參考

IVsDataConnectionDialog 介面

ShowDialog 多載

Microsoft.VisualStudio.Data.Services 命名空間