共用方式為


IVsDataExplorerConnectionManager 介面

提供執行一般工作與資料連接在伺服器總管中,例如,加入、移除或尋找連接,等等。

此應用程式開發介面不符合 CLS 標準。 

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

語法

'宣告
<GuidAttribute("8B6159D9-A634-4549-9EAC-8642744F1042")> _
<CLSCompliantAttribute(False)> _
Public Interface IVsDataExplorerConnectionManager
[GuidAttribute("8B6159D9-A634-4549-9EAC-8642744F1042")]
[CLSCompliantAttribute(false)]
public interface IVsDataExplorerConnectionManager
[GuidAttribute(L"8B6159D9-A634-4549-9EAC-8642744F1042")]
[CLSCompliantAttribute(false)]
public interface class IVsDataExplorerConnectionManager
[<GuidAttribute("8B6159D9-A634-4549-9EAC-8642744F1042")>]
[<CLSCompliantAttribute(false)>]
type IVsDataExplorerConnectionManager =  interface end
public interface IVsDataExplorerConnectionManager

IVsDataExplorerConnectionManager 類型會公開下列成員。

屬性

  名稱 描述
公用屬性 Connections 取得索引鍵/值組的集合包含所有現有資料連接的。

回頁首

方法

  名稱 描述
公用方法 AddConnection 將具有指定之屬性的新資料連接。
公用方法 FindConnection 搜尋符合指定之屬性的現有資料連接。
公用方法 PromptAndAddConnection 提示使用者以連接對話方塊加入至伺服器總管的新連接。
公用方法 RemoveConnection 從伺服器總管移除現有的資料連接。
公用方法 SelectConnection 在伺服器總管中選取指定的資料連接。

回頁首

備註

這個介面會實作為內建 DDEX 服務。

請參閱

參考

Microsoft.VisualStudio.Data.Services 命名空間