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
'宣言
Function Find ( _
typeName As String, _
identifier As Object() _
) As IVsDataExplorerNode
'使用
Dim instance As IVsDataExplorerChildNodeCollection
Dim typeName As String
Dim identifier As Object()
Dim returnValue As IVsDataExplorerNode
returnValue = instance.Find(typeName, _
identifier)
IVsDataExplorerNode Find(
string typeName,
Object[] identifier
)
IVsDataExplorerNode^ Find(
String^ typeName,
array<Object^>^ identifier
)
function Find(
typeName : String,
identifier : Object[]
) : IVsDataExplorerNode
Parameters
typeName
Type: System.StringThe name of the requested data object's type.
identifier
Type: []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 a null reference (Nothing in Visual Basic) if the node is not found.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | The typeName or identifier parameter is a null reference (Nothing in Visual Basic). |
Permissions
- 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.
See Also
Reference
IVsDataExplorerChildNodeCollection Interface