Chameleon and Iguana Plugin C# Class Libraries

Engine.SetDefaultDatabase Method 

Programmatically sets the default database associated with the currently selected configuration at run-time.

[Visual Basic]
Public Sub SetDefaultDatabase( _
   ByVal API As String, _
   ByVal DatabaseName As String, _
   ByVal UserName As String, _
   ByVal Password As String _
)
[C#]
public void SetDefaultDatabase(
   string API,
   string DatabaseName,
   string UserName,
   string Password
);

Parameters

API
Database type. Choose from one of the following strings: MySQL, OCI, ODBC - PostgreSQL,ODBC - MS Access, ODBC - Oracle, ODBC - MS SQL Server, ODBC - Sybase ASA, ODBC - Sybase ASE.
DatabaseName
Name of the database
UserName
User name used to access the database
Password
Password corresponding to the user name

See Also

Engine Class | iNTERFACEWARE.Chameleon Namespace