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
explorerConnection
Type: Microsoft.VisualStudio.Data.Services.IVsDataExplorerConnectionThe data connection to remove.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The explorerConnection parameter is nulla null reference (Nothing in Visual Basic). |
.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.