Freigeben über


IVsDataExplorerConnectionManager.RemoveConnection-Methode

Entfernt eine vorhandene Datenverbindung im 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
)

Parameter

Ausnahmen

Ausnahme Bedingung
ArgumentNullException

Der explorerConnection-Parameter ist nullein Nullverweis (Nothing in Visual Basic).

.NET Framework-Sicherheit

Siehe auch

Referenz

IVsDataExplorerConnectionManager Schnittstelle

Microsoft.VisualStudio.Data.Services-Namespace