IVsDataExplorerChildNodeCollection.Contains Method (String)

Indicates whether Server Explorer contains a connection node corresponding to the specified name.

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

Syntax

'Declaration
Function Contains ( _
    name As String _
) As Boolean
'Usage
Dim instance As IVsDataExplorerChildNodeCollection 
Dim name As String 
Dim returnValue As Boolean 

returnValue = instance.Contains(name)
bool Contains(
    string name
)
bool Contains(
    String^ name
)
function Contains(
    name : String
) : boolean

Parameters

  • name
    Type: System.String

    The name of the connection node to look for.

Return Value

Type: System.Boolean
true if Server Explorer contains the specified connection node; otherwise, false.

.NET Framework Security

See Also

Reference

IVsDataExplorerChildNodeCollection Interface

IVsDataExplorerChildNodeCollection Members

Contains Overload

Microsoft.VisualStudio.Data.Services Namespace