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

SQL Anywhere 11.0.0 » UltraLite - .NET Programming » UltraLite .NET 2.0 API Reference » ULConnection class

 

ChangeDatabase method

Changes the current database for an open ULConnection.

Syntax
Visual Basic

Public Overrides Sub ChangeDatabase( _
   ByVal connectionString As String _
)
C#

public override void ChangeDatabase(
   string  connectionString
);
Parameters
  • connectionString¬†¬† A complete connection string to open the connection to a new database.

Remarks

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