SqlConnectionStringBuilder::Clear Method ()
.NET Framework (current version)
Clears the contents of the SqlConnectionStringBuilder instance.
Assembly: System.Data (in System.Data.dll)
The Clear method removes all key/value pairs from the SqlConnectionStringBuilder, and resets all corresponding properties. This includes setting the Count property to 0, and setting the ConnectionString property to an empty string.
.NET Framework
Available since 2.0
Available since 2.0
Show: