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

In This Topic
    ChangeDatabase Method (DB2Connection)
    In This Topic
    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