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 - AppForge Programming » UltraLite for AppForge API Reference » ULDatabaseManager class

Properties Next Page

CreateDatabase method


Create a new UltraLite database using specified creation parameters, collation sequence, and connection parameters.

Syntax

CreateDatabase( connparms As string ,
collation As Long ,
createparms As String
) As ULConnection
Member of UltraLiteAFLib.ULDatabaseManager

Parameters

connparms    Access parameters for the database. Similar to parameters supplied to OpenConnection.

collation    A pointer to an array of bytes representing a collation. The collation byte array can be initialized in Visual Basic .NET for AppForge by using predefined collations located in the folder install-dir\src\ulcollations\af.vb.net.

createparms    Database creation parameters—database characteristics that can only be specified at database creation; examples: obfuscation and page-size.

See Choosing creation-time database properties for UltraLite.

Returns

Returns a connection if the database is successfully created.