Share via


IVsDataExplorerConnectionManager.RemoveConnection, méthode

Supprime une connexion de données existante dans l'explorateur de serveurs.

Espace de noms :  Microsoft.VisualStudio.Data.Services
Assembly :  Microsoft.VisualStudio.Data.Services (dans Microsoft.VisualStudio.Data.Services.dll)

Syntaxe

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

Paramètres

Exceptions

Exception Condition
ArgumentNullException

Le paramètre explorerConnection est nullune référence null (Nothing en Visual Basic).

Sécurité .NET Framework

Voir aussi

Référence

IVsDataExplorerConnectionManager Interface

Microsoft.VisualStudio.Data.Services, espace de noms