IVsDataExplorerConnection.FindDocumentNode Method (String, Boolean)
Gets the specified connection node through the data view hierarchy. Optionally, searches unexpanded nodes that are not populated.
Namespace: Microsoft.VisualStudio.Data.Services
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'Déclaration
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
Parameters
- documentMoniker
Type: System.String
The moniker for the node to find.
- searchUnpopulatedChildren
Type: System.Boolean
A Boolean value indicating whether to search nodes that have never been expanded and are thus not populated.
Return Value
Type: Microsoft.VisualStudio.Data.Services.IVsDataExplorerNode
An IVsDataExplorerNode object representing the requested connection node in Server Explorer.
Remarks
This method gets the node ID through the document provider FindNode method and then passes this ID to the FindNode method to obtain the connection node.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.