DataExplorerConnectionManager.RemoveConnection 方法

从中移除现有 DataExplorerConnection 对象实例设置当前连接。

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

语法

声明
Public MustOverride Sub RemoveConnection ( _
    explorerConnection As DataExplorerConnection _
)
public abstract void RemoveConnection(
    DataExplorerConnection explorerConnection
)
public:
virtual void RemoveConnection(
    DataExplorerConnection^ explorerConnection
) abstract
abstract RemoveConnection : 
        explorerConnection:DataExplorerConnection -> unit 
public abstract function RemoveConnection(
    explorerConnection : DataExplorerConnection
)

参数

异常

异常 条件
ArgumentNullException

explorerConnection 参数为 null。

.NET Framework 安全性

请参见

参考

DataExplorerConnectionManager 类

Microsoft.VisualStudio.Data 命名空间