dotConnect for Google BigQuery Documentation
Devart.Data Namespace / SqlShimConnectionStringBuilder Class / EquivalentTo Method / EquivalentTo(DbConnectionStringBuilder,Boolean) Method
A DbConnectionStringBuilder object to compare with.
true to compare only the authentication parameters; false to compare all parameters.

On this page
    EquivalentTo(DbConnectionStringBuilder,Boolean) Method
    On this page
    Returns a value indicating whether this SqlShimConnectionStringBuilder object has same parameters as given DbConnectionStringBuilder object.
    Syntax
    'Declaration
     
    Public Overloads Overrides Function EquivalentTo( _
       ByVal connectionStringBuilder As DbConnectionStringBuilder, _
       ByVal loginOnly As Boolean _
    ) As Boolean
    public override bool EquivalentTo( 
       DbConnectionStringBuilder connectionStringBuilder,
       bool loginOnly
    )

    Parameters

    connectionStringBuilder
    A DbConnectionStringBuilder object to compare with.
    loginOnly
    true to compare only the authentication parameters; false to compare all parameters.

    Return Value

    true, if the two objects have same parameters; otherwise, false.
    Remarks
    Use EquivalentTo to quickly compare two DbConnectionStringBuilder objects. If you need to check only the main connection properties, ensuring that you login to the same place with the same user, set loginOnly to true.
    See Also