EquivalentTo(DbConnectionStringBuilder) Method

Syntax:

public bool EquivalentTo(DbConnectionStringBuilder connectionStringBuilder)

Description:

Compares the connection information in this connection string builder with the connection information in the supplied connection string builder.

Parameters:

connectionStringBuilder

Type: System.Data.Common.DbConnectionStringBuilder

The connection string builder to compare to the current connection string builder.

Return Value:

Type: System.Boolean

Returns true if the connection information in both connection string builders causes equivalent connection strings; otherwise it returns false.

Exceptions:

None

Reference:

For more information, reference MSDN documentation for: System.Data.Common.DbConnectionStringBuilder.EquivalentTo