Share via


IVsDataExplorerConnectionManager.RemoveConnection Method

Removes an existing data connection from Server Explorer.

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

Syntax

'Declaration
Sub RemoveConnection ( _
    explorerConnection As IVsDataExplorerConnection _
)
void RemoveConnection(
    IVsDataExplorerConnection explorerConnection
)
void RemoveConnection(
    IVsDataExplorerConnection^ explorerConnection
)
abstract RemoveConnection : 
        explorerConnection:IVsDataExplorerConnection -> unit
function RemoveConnection(
    explorerConnection : IVsDataExplorerConnection
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

The explorerConnection parameter is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

IVsDataExplorerConnectionManager Interface

Microsoft.VisualStudio.Data.Services Namespace