Freigeben über


DataConnectionProperties.Remove(String) Method

Definition

Removes a property from the current connection property collection.

public:
 virtual bool Remove(System::String ^ key);
public bool Remove (string key);
abstract member Remove : string -> bool
override this.Remove : string -> bool
Public Function Remove (key As String) As Boolean

Parameters

key
String

Name of the property to be removed from the current set.

Returns

true if property is removed; false if the property is not found.

Implements

Exceptions

The key parameter is null.

The data connection properties are not extensible.

The property cannot be removed because it was not found in the list of extended properties.

Applies to