IDataConnectionProperties.Contains, méthode

Teste si un même ensemble de propriétés de connexion contient une propriété spécifiée.

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

Syntaxe

'Déclaration
Function Contains ( _
    propertyName As String _
) As Boolean
bool Contains(
    string propertyName
)
bool Contains(
    String^ propertyName
)
abstract Contains : 
        propertyName:string -> bool
function Contains(
    propertyName : String
) : boolean

Paramètres

  • propertyName
    Type : String

    Nom de la propriété dont la présence est testée.

Valeur de retour

Type : Boolean
true si l'ensemble de propriétés de connexion contient la propriété spécifiée ; sinon, false.

Exceptions

Exception Condition
ArgumentNullException

Le paramètre propertyName est null.

Sécurité .NET Framework

Voir aussi

Référence

IDataConnectionProperties Interface

Microsoft.Data.ConnectionUI, espace de noms