SqlConnectionStringBuilder::ContainsKey Method (String^)
Determines whether the SqlConnectionStringBuilder contains a specific key.
Assembly: System.Data (in System.Data.dll)
The following example creates a SqlConnectionStringBuilder instance, sets some of its properties, and then tries to determine whether various keys exist within the object by calling the ContainsKey method.
The example displays the following output in the console window:
Connection string = Data Source=(local);Initial Catalog=AdventureWorks;Integrated Security=True True True True False
Available since 2.0