IVsDataExplorerConnectionManager.RemoveConnection 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从服务器资源管理器中移除现有数据连接。
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。