Specifies a name for the database or the name of a loaded database to which a connection needs to be made.
Visual Basic Public Property DatabaseName As String
C# public string DatabaseName { get; set; }
A string specifying the name of the database. The default is a null reference (Nothing in Visual Basic).
When a database is started, it is assigned a database name, either explicitly with the dbn parameter, or by UltraLite using the base of the file name with the extension and path removed.
When opening connections, UltraLite first searches for a running database with a matching dbn. If one is not found, UltraLite starts a new database using the appropriate database file name parameter (DatabaseOnCE or DatabaseOnDesktop).
This parameter is required if the application (or UltraLite engine) needs to access two different databases that have the same base file name.
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |