Compartir a través de


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
bool Contains(
    string name
)
bool Contains(
    String^ name
)
abstract Contains : 
        name:string -> bool
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

Contains Overload

Microsoft.VisualStudio.Data.Services Namespace