Share via


EntityConnectionStringBuilder.Remove(String) Method

Definition

Removes the entry with the specified key from the EntityConnectionStringBuilder instance.

public override bool Remove (string keyword);
override this.Remove : string -> bool
Public Overrides Function Remove (keyword As String) As Boolean

Parameters

keyword
String

The key of the keyword/value pair to be removed from the connection string in this EntityConnectionStringBuilder .

Returns

Returns true if the key existed in the connection string and was removed; false if the key did not exist.

Exceptions

keyword is null (Nothing in Visual Basic)

Applies to