Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (Français) » UltraLite - .NET Programming » UltraLite .NET 2.0 API reference » ULConnection class


ChangeDatabase method

Changes the current database for an open ULConnection.

Visual Basic
Public Overrides Sub ChangeDatabase( _
   ByVal connectionString As String _
public override void ChangeDatabase(
   string  connectionString
  • connectionString   A complete connection string to open the connection to a new database.


The connection to the current database is closed even if there are parameter errors.

UL Ext.:connectionString is a full connection string, not a dbn or dbf.

See also