dotConnect for DB2 Documentation
Devart.Data.DB2 Namespace / DB2Connection Class / ChangeDatabase Method

On this page
    ChangeDatabase Method (DB2Connection)
    On this page
    Changes the current database associated with an open connection.
    Syntax
    'Declaration
     
    Public Overrides Sub ChangeDatabase( _
       ByVal databaseName As String _
    ) 
    public override void ChangeDatabase( 
       string databaseName
    )

    Parameters

    databaseName
    Remarks
    This method does not close physical connection to the server, it only changes the current database associated with an open connection. See Database property for more information about databases associated with connections.
    See Also