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
    类型:System.String
    节点的标记能够找到。
  • searchUnpopulatedChildren
    类型:System.Boolean
    指示是否的 Boolean 值搜索不会展开和因此未填充的节点。

返回值

类型:Microsoft.VisualStudio.Data.Services.IVsDataExplorerNode
表示在服务器资源管理器中 IVsDataExplorerNode 对象请求的连接节点。

备注

此方法通过文档提供程序 FindNode 方法获取节点ID然后将此ID到 FindNode 方法获取连接节点。

.NET Framework 安全性

请参见

参考

IVsDataExplorerConnection 接口

FindDocumentNode 重载

Microsoft.VisualStudio.Data.Services 命名空间