Share via


IVsDataExplorerChildNodeCollection.Contains, méthode (String)

Indique si l'explorateur de serveurs contient un nœud de connexion correspondant au nom spécifié.

Espace de noms :  Microsoft.VisualStudio.Data.Services
Assembly :  Microsoft.VisualStudio.Data.Services (dans Microsoft.VisualStudio.Data.Services.dll)

Syntaxe

'Déclaration
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

Paramètres

  • name
    Type : System.String
    Le nom du nœud de connexion à rechercher.

Valeur de retour

Type : System.Boolean
true si l'explorateur de serveurs contient le nœud spécifié de connexion ; sinon, false.

Sécurité .NET Framework

Voir aussi

Référence

IVsDataExplorerChildNodeCollection Interface

Contains, surcharge

Microsoft.VisualStudio.Data.Services, espace de noms