Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Removes the specified data connection if it exists and is a weak reference.
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
Parameters
- connection
Type: Microsoft.VisualStudio.Data.Services.IVsDataConnection
The data connection object.
Return Value
Type: System.Boolean
true if the specified data connection is found and removed; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.