Compartir a través de


IDataConnectionProperties.Contains(String) Method

Definition

Tests whether a given set of connection properties contains a specified property.

public:
 bool Contains(System::String ^ propertyName);
public bool Contains (string propertyName);
abstract member Contains : string -> bool
Public Function Contains (propertyName As String) As Boolean

Parameters

propertyName
String

Name of the property whose presence is being tested.

Returns

true if the set of connection properties contains the specified property; otherwise, false.

Exceptions

The propertyName parameter is null.

Applies to