dotConnect for MongoDB Documentation
Devart.Data.MongoDB Namespace / MongoDBConnection Class / ChangeDatabase Method

On this page
    ChangeDatabase Method (MongoDBConnection)
    On this page
    Changes the current database. An open connection is closed and opened again with the new database.
    Syntax
    'Declaration
     
    Public Overrides Sub ChangeDatabase( _
       ByVal value As String _
    ) 
    public override void ChangeDatabase( 
       string value
    )

    Parameters

    value
    See Also