Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Tests whether a given set of connection properties contains a specified property.
Namespace: Microsoft.Data.ConnectionUI
Assembly: Microsoft.Data.ConnectionUI (in Microsoft.Data.ConnectionUI.dll)
Syntax
'Declaration
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
Parameters
- propertyName
Type: System.String
Name of the property whose presence is being tested.
Return Value
Type: System.Boolean
true if the set of connection properties contains the specified property; otherwise, false.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | The propertyName parameter is null. |
.NET Framework Security
- 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.