共用方式為


IVsDataExplorerConnection.FindDocumentNode 方法 (String, Boolean)

若要透過資料檢視階層取得指定的連接節點。 或者,尚未填入的搜尋未展開的節點。

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

語法

'宣告
Function FindDocumentNode ( _
    documentMoniker As String, _
    searchUnpopulatedChildren As Boolean _
) As IVsDataExplorerNode
IVsDataExplorerNode FindDocumentNode(
    string documentMoniker,
    bool searchUnpopulatedChildren
)
IVsDataExplorerNode^ FindDocumentNode(
    String^ documentMoniker, 
    bool searchUnpopulatedChildren
)
abstract FindDocumentNode : 
        documentMoniker:string * 
        searchUnpopulatedChildren:bool -> IVsDataExplorerNode
function FindDocumentNode(
    documentMoniker : String, 
    searchUnpopulatedChildren : boolean
) : IVsDataExplorerNode

參數

  • documentMoniker
    類型:String

    節點的 Moniker 所要尋找的。

  • searchUnpopulatedChildren
    類型:Boolean

    指出是否 Boolean 值從搜尋未展開因此填入的節點。

傳回值

類型:Microsoft.VisualStudio.Data.Services.IVsDataExplorerNode
表示在伺服器總管中 IVsDataExplorerNode 物件需要的連接節點。

備註

這個方法會將文件提供者 FindNode 方法取得節點 ID 會傳遞這個 ID 為 FindNode 方法取得連接節點。

.NET Framework 安全性

請參閱

參考

IVsDataExplorerConnection 介面

FindDocumentNode 多載

Microsoft.VisualStudio.Data.Services 命名空間