Freigeben über


IVsDataConnectionManager.InvalidateConnection-Methode (IVsDataConnection)

Entfernt die angegebene Datenverbindung, wenn ein schwacher Verweis vorhanden und ist.

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

Syntax

'Declaration
Function InvalidateConnection ( _
    connection As IVsDataConnection _
) As Boolean
bool InvalidateConnection(
    IVsDataConnection connection
)
bool InvalidateConnection(
    IVsDataConnection^ connection
)
abstract InvalidateConnection : 
        connection:IVsDataConnection -> bool
function InvalidateConnection(
    connection : IVsDataConnection
) : boolean

Parameter

Rückgabewert

Typ: Boolean
true , wenn die angegebene Datenverbindung gefunden und entfernt wird; andernfalls false.

.NET Framework-Sicherheit

Siehe auch

Referenz

IVsDataConnectionManager Schnittstelle

InvalidateConnection-Überladung

Microsoft.VisualStudio.Data.Services-Namespace