共用方式為


IVsDataExplorerConnectionManager.SelectConnection 方法

在伺服器總管中選取指定的資料連接。

命名空間:  Microsoft.VisualStudio.Data.Services
組件:  Microsoft.VisualStudio.Data.Services (在 Microsoft.VisualStudio.Data.Services.dll 中)

語法

'宣告
Sub SelectConnection ( _
    explorerConnection As IVsDataExplorerConnection _
)
void SelectConnection(
    IVsDataExplorerConnection explorerConnection
)
void SelectConnection(
    IVsDataExplorerConnection^ explorerConnection
)
abstract SelectConnection : 
        explorerConnection:IVsDataExplorerConnection -> unit
function SelectConnection(
    explorerConnection : IVsDataExplorerConnection
)

參數

.NET Framework 安全性

請參閱

參考

IVsDataExplorerConnectionManager 介面

Microsoft.VisualStudio.Data.Services 命名空間