Partager via


DataExplorerConnectionManager.RemoveConnection Method

Removes an existing DataExplorerConnection object instance from the set of current connections.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
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
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

The explorerConnection parameter is null.

.NET Framework Security

See Also

Reference

DataExplorerConnectionManager Class

Microsoft.VisualStudio.Data Namespace