DataExplorerConnectionManager.SelectConnection Method
Selects a specific data connection in the Server Explorer tree view.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Public MustOverride Sub SelectConnection ( _
explorerConnection As DataExplorerConnection _
)
public abstract void SelectConnection(
DataExplorerConnection explorerConnection
)
public:
virtual void SelectConnection(
DataExplorerConnection^ explorerConnection
) abstract
abstract SelectConnection :
explorerConnection:DataExplorerConnection -> unit
public abstract function SelectConnection(
explorerConnection : DataExplorerConnection
)
Parameters
explorerConnection
Type: Microsoft.VisualStudio.Data.DataExplorerConnectionThe data explorer connection to select.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The explorerConnection parameter is null. |
.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.