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

SQL Anywhere 10.0.1 » UltraLite - .NET Programming » UltraLite .NET 1.0 API Reference » ULConnection class

BeginTransaction method Next Page

ChangeDatabase method


Changes the current database for an open ULConnection.

Syntax

Visual Basic

NotOverridable Public Sub ChangeDatabase( _
ByVal connectionString As String _
) _
Implements IDbConnection.ChangeDatabase

C#

public void ChangeDatabase(
string connectionString
);

Parameters
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.

Implements

[external link] IDbConnection.ChangeDatabase

See also