'Declaration Public Overloads Overridable Function EquivalentTo( _ ByVal connectionStringBuilder As DbConnectionStringBuilder, _ ByVal loginOnly As Boolean _ ) As Boolean
public virtual bool EquivalentTo( DbConnectionStringBuilder connectionStringBuilder, bool loginOnly )
Parameters
- connectionStringBuilder
- The DbConnectionStringBuilder to be compared with this DbConnectionStringBuilder object.
- loginOnly
- If this parameter is true, only the following DbConnectionStringBuilder properties are compared:
- Devart.Data.MySql.MySqlConnectionStringBuilder.Password
- Devart.Data.MySql.MySqlConnectionStringBuilder.UserId
- Devart.Data.MySql.MySqlConnectionStringBuilder.Host
- Devart.Data.MySql.MySqlConnectionStringBuilder.Port
- Devart.Data.MySql.MySqlConnectionStringBuilder.Database
Return Value
trueif the specified connection information in both of the DbConnectionStringBuilder objects is equal; otherwise, false.