Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes the entry with the specified key from the OracleConnectionStringBuilder instance.
public:
override bool Remove(System::String ^ keyword);
public override bool Remove(string keyword);
override this.Remove : string -> bool
Public Overrides Function Remove (keyword As String) As Boolean
The key of the key/value pair to be removed from the connection string in this OracleConnectionStringBuilder.
true
if the key existed within the connection string and was removed, false
if the key did not exist.
keyword
is null (Nothing
in Visual Basic).
The Remove method returns a value that indicates its success, so it's not necessary to look for the existence of a key before trying to remove the key/value pair from the OracleConnectionStringBuilder instance. Calling the Remove method just resets the value of the key/value pair back to its default value. That's because the OracleConnectionStringBuilder maintains a fixed-size collection of key/value pairs
The collection of keys supported by the OracleConnectionStringBuilder is fixed, so every item within the collection has a known default value.
The following table lists the keys, and the value for each when the OracleConnectionStringBuilder is first initialized, or after the Remove method has been called.
Key | Default value |
---|---|
Data Source | Empty string |
Persist Security Info | False |
Integrated Security | False |
User ID | Empty string |
Password | Empty string |
Enlist | True |
Pooling | True |
Min Pool Size | 0 |
Max Pool Size | 100 |
Unicode | False |
Load Balance Timeout | 0 |
Omit Oracle Connection Name | False |
Product | Versions |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback:
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in