EquivalentTo(DbConnectionStringBuilder,Boolean) Method
Compares the specified connection information in this
DbConnectionStringBuilder object with the specified connection information in the supplied
DbConnectionStringBuilder object.
Parameters
- connectionStringBuilder
- The DbConnectionStringBuilder to be compared with this DbConnectionStringBuilder object.
- loginOnly
- If true, only Password, User Id, Host, Port, Database, Url, Connection Format, Additional Servers, and Auth Database are compared.
Return Value
true if the specified connection information in both of the
DbConnectionStringBuilder objects is equal; otherwise,
false.