IVsDataExplorerConnectionManager.RemoveConnection 方法

定义

从服务器资源管理器中移除现有数据连接。

public:
 void RemoveConnection(Microsoft::VisualStudio::Data::Services::IVsDataExplorerConnection ^ explorerConnection);
public void RemoveConnection (Microsoft.VisualStudio.Data.Services.IVsDataExplorerConnection explorerConnection);
abstract member RemoveConnection : Microsoft.VisualStudio.Data.Services.IVsDataExplorerConnection -> unit
Public Sub RemoveConnection (explorerConnection As IVsDataExplorerConnection)

参数

explorerConnection
IVsDataExplorerConnection

要移除的数据连接。

例外

explorerConnection 参数为 null。

适用于