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.
Send feedback about this page via email or DocCommentXchange | Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0 |