IVsDataExplorerConnectionManager.PromptAndAddConnection 方法

提示用户提供连接对话框添加到服务器资源管理器中的新连接。

命名空间:  Microsoft.VisualStudio.Data.Services
程序集:  Microsoft.VisualStudio.Data.Services(在 Microsoft.VisualStudio.Data.Services.dll 中)

语法

声明
Function PromptAndAddConnection As IVsDataExplorerConnection
IVsDataExplorerConnection PromptAndAddConnection()
IVsDataExplorerConnection^ PromptAndAddConnection()
abstract PromptAndAddConnection : unit -> IVsDataExplorerConnection
function PromptAndAddConnection() : IVsDataExplorerConnection

返回值

类型:Microsoft.VisualStudio.Data.Services.IVsDataExplorerConnection
表示新的数据连接的 IVsDataExplorerConnection 对象。

.NET Framework 安全性

请参阅

参考

IVsDataExplorerConnectionManager 接口

Microsoft.VisualStudio.Data.Services 命名空间