IVsDataExplorerChildNodeCollection.Find Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Find(IVsDataObject) |
Retrieves the specified connection node. |
Find(String, Object[]) |
Retrieves a connection node corresponding to the specified type name and identifiers. |
Find(IVsDataObject)
Retrieves the specified connection node.
public:
Microsoft::VisualStudio::Data::Services::IVsDataExplorerNode ^ Find(Microsoft::VisualStudio::Data::Services::IVsDataObject ^ obj);
public Microsoft.VisualStudio.Data.Services.IVsDataExplorerNode Find (Microsoft.VisualStudio.Data.Services.IVsDataObject obj);
abstract member Find : Microsoft.VisualStudio.Data.Services.IVsDataObject -> Microsoft.VisualStudio.Data.Services.IVsDataExplorerNode
Public Function Find (obj As IVsDataObject) As IVsDataExplorerNode
Parameters
- obj
- IVsDataObject
An IVsDataObject object that identifies the connection node to look for.
Returns
An IVsDataExplorerNode object representing the connection node in Server Explorer, or null if the connection node is not found.
Exceptions
The obj
parameter is null.
Applies to
Find(String, Object[])
Retrieves a connection node corresponding to the specified type name and identifiers.
public:
Microsoft::VisualStudio::Data::Services::IVsDataExplorerNode ^ Find(System::String ^ typeName, cli::array <System::Object ^> ^ identifier);
public Microsoft.VisualStudio.Data.Services.IVsDataExplorerNode Find (string typeName, object[] identifier);
abstract member Find : string * obj[] -> Microsoft.VisualStudio.Data.Services.IVsDataExplorerNode
Public Function Find (typeName As String, identifier As Object()) As IVsDataExplorerNode
Parameters
- typeName
- String
The name of the requested data object's type.
- identifier
- Object[]
An array of identifier parts that uniquely identify the requested data object.
Returns
An IVsDataExplorerNode object representing the connection node in Server Explorer, or null if the node is not found.
Exceptions
The typeName
or identifier
parameter is null.