共用方式為


IVsDataExplorerConnection 介面

表示存在於 Visual Studio 伺服器總管的連結。

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

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

語法

'宣告
<CLSCompliantAttribute(False)> _
Public Interface IVsDataExplorerConnection
[CLSCompliantAttribute(false)]
public interface IVsDataExplorerConnection
[CLSCompliantAttribute(false)]
public interface class IVsDataExplorerConnection
[<CLSCompliantAttribute(false)>]
type IVsDataExplorerConnection =  interface end
public interface IVsDataExplorerConnection

IVsDataExplorerConnection 類型會公開下列成員。

屬性

  名稱 描述
公用屬性 Connection 取得資料連接在伺服器總管中目前連接的對應。
公用屬性 ConnectionNode 取得伺服器總管的目前連接節點。
公用屬性 DisplayName 取得或設定根節點的顯示名稱之資料連接的。
公用屬性 EncryptedConnectionString 取得包含有關資料連接的加密資訊的字串。
公用屬性 Provider 取得 DDEX 提供者的唯一識別項伺服器總管連接的。
公用屬性 SelectedNodes 取得在 [伺服器總管] 中目前選取的節點單一伺服器總管連接的。
公用屬性 Source 取得目前連接的資料來源。

回頁首

方法

  名稱 描述
公用方法 FindDocumentNode(String) 若要透過資料檢視階層取得指定的連接節點。
公用方法 FindDocumentNode(String, Boolean) 若要透過資料檢視階層取得指定的連接節點。或者,尚未填入的搜尋未展開的節點。
公用方法 FindNode(Int32) 根據其 ID. 的伺服器總管中擷取連接節點
公用方法 FindNode(String) 根據其名稱的伺服器總管中擷取連接節點。
公用方法 FindNode(String, Boolean) 根據其名稱的伺服器總管中擷取連接節點。或者,尚未填入的搜尋未展開的節點。

回頁首

事件

  名稱 描述
公用事件 NodeChanged 當節點變更時,就會發生。
公用事件 NodeExpandedOrRefreshed 當節點,在 [伺服器總管] 中,展開或更新時發生。
公用事件 NodeInserted 當節點,在 [伺服器總管] 中,插入時發生。
公用事件 NodeRemoving 在伺服器總管中的節點移除之前發生。

回頁首

備註

這個介面表示顯示為子系到 [伺服器總管] [資料連接] 節點的資料連接節點。

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

請參閱

參考

Microsoft.VisualStudio.Data.Services 命名空間

IVsDataConnection