dotConnect for MongoDB Documentation
Devart.Data.MongoDB Namespace / MongoDBConnectionStringBuilder Class / EquivalentTo Method / EquivalentTo(DbConnectionStringBuilder,Boolean) Method

On this page
    EquivalentTo(DbConnectionStringBuilder,Boolean) Method
    On this page
    Returns true if the specified builder is a MongoDBConnectionStringBuilder with equivalent settings. With loginOnly set to true, only Password, User Id, Host, Port, Database, Url, Connection Format, Additional Servers, and Auth Database are compared.
    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
    loginOnly
    See Also