共用方式為


DataExplorerConnectionManager.SelectConnection(DataExplorerConnection) Method

Definition

Selects a specific data connection in the Server Explorer tree view.

public:
 abstract void SelectConnection(Microsoft::VisualStudio::Data::DataExplorerConnection ^ explorerConnection);
public abstract void SelectConnection (Microsoft.VisualStudio.Data.DataExplorerConnection explorerConnection);
abstract member SelectConnection : Microsoft.VisualStudio.Data.DataExplorerConnection -> unit
Public MustOverride Sub SelectConnection (explorerConnection As DataExplorerConnection)

Parameters

explorerConnection
DataExplorerConnection

The data explorer connection to select.

Exceptions

The explorerConnection parameter is null.

Applies to