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

'宣言
Public MustOverride Sub SelectConnection ( _
    explorerConnection As DataExplorerConnection _
)
'使用
Dim instance As DataExplorerConnectionManager
Dim explorerConnection As DataExplorerConnection

instance.SelectConnection(explorerConnection)
public abstract void SelectConnection(
    DataExplorerConnection explorerConnection
)
public:
virtual void SelectConnection(
    DataExplorerConnection^ explorerConnection
) abstract
public abstract function SelectConnection(
    explorerConnection : DataExplorerConnection
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

The explorerConnection parameter is null.

Permissions

See Also

Reference

DataExplorerConnectionManager Class

DataExplorerConnectionManager Members

Microsoft.VisualStudio.Data Namespace