IVsDataExplorerChildNodeCollection.Find Method (IVsDataObject)
Retrieves the specified connection node.
Namespace: Microsoft.VisualStudio.Data.Services
Assembly: Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)
Syntax
'Declaration
Function Find ( _
obj As IVsDataObject _
) As IVsDataExplorerNode
IVsDataExplorerNode Find(
IVsDataObject obj
)
IVsDataExplorerNode^ Find(
IVsDataObject^ obj
)
abstract Find :
obj:IVsDataObject -> IVsDataExplorerNode
function Find(
obj : IVsDataObject
) : IVsDataExplorerNode
Parameters
obj
Type: Microsoft.VisualStudio.Data.Services.IVsDataObjectAn IVsDataObject object that identifies the connection node to look for.
Return Value
Type: Microsoft.VisualStudio.Data.Services.IVsDataExplorerNode
An IVsDataExplorerNode object representing the connection node in Server Explorer, or nulla null reference (Nothing in Visual Basic) if the connection node is not found.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The obj parameter is nulla null reference (Nothing in Visual Basic). |
.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.