Freigeben über


IVsDataExplorerChildNodeCollection.Find Method (String, array<Object )

Retrieves a connection node corresponding to the specified type name and identifiers.

Namespace:  Microsoft.VisualStudio.Data.Services
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'Declaration
Function Find ( _
    typeName As String, _
    identifier As Object() _
) As IVsDataExplorerNode
IVsDataExplorerNode Find(
    string typeName,
    Object[] identifier
)
IVsDataExplorerNode^ Find(
    String^ typeName, 
    array<Object^>^ identifier
)
abstract Find : 
        typeName:string * 
        identifier:Object[] -> IVsDataExplorerNode 
function Find(
    typeName : String, 
    identifier : Object[]
) : IVsDataExplorerNode

Parameters

  • typeName
    Type: System.String
    The name of the requested data object's type.
  • identifier
    Type: array<System.Object[]
    An array of identifier parts that uniquely identify the requested data object.

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 node is not found.

Exceptions

Exception Condition
ArgumentNullException

The typeName or identifier parameter is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

IVsDataExplorerChildNodeCollection Interface

Find Overload

Microsoft.VisualStudio.Data.Services Namespace