IVsDataExplorerConnectionManager 接口

能够执行常规任务。数据连接 (例如,在服务器资源管理器中,添加取消或查找连接,以及其他功能。

此 API 不兼容 CLS。 

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

语法

声明
<GuidAttribute("8B6159D9-A634-4549-9EAC-8642744F1042")> _
<CLSCompliantAttribute(False)> _
Public Interface IVsDataExplorerConnectionManager
[GuidAttribute("8B6159D9-A634-4549-9EAC-8642744F1042")]
[CLSCompliantAttribute(false)]
public interface IVsDataExplorerConnectionManager
[GuidAttribute(L"8B6159D9-A634-4549-9EAC-8642744F1042")]
[CLSCompliantAttribute(false)]
public interface class IVsDataExplorerConnectionManager
[<GuidAttribute("8B6159D9-A634-4549-9EAC-8642744F1042")>]
[<CLSCompliantAttribute(false)>]
type IVsDataExplorerConnectionManager =  interface end
public interface IVsDataExplorerConnectionManager

IVsDataExplorerConnectionManager 类型公开以下成员。

属性

  名称 说明
公共属性 Connections 获取键/值对的集合包含所有现有数据连接的。

页首

方法

  名称 说明
公共方法 AddConnection 将与指定属性的新数据连接。
公共方法 FindConnection 与指定属性的现有数据连接的搜索。
公共方法 PromptAndAddConnection 提示用户提供连接对话框添加到服务器资源管理器中的新连接。
公共方法 RemoveConnection 从服务器资源管理器中移除现有数据连接。
公共方法 SelectConnection 在服务器资源管理器中选择指定的数据连接。

页首

备注

此接口的实现作为内置 DDEX 服务。

请参阅

参考

Microsoft.VisualStudio.Data.Services 命名空间