Contents Index CreateDatabaseWithParms method DropDatabaseWithParms method

UltraLite for MobileVB User's Guide
  UltraLite for MobileVB API Reference
    ULDatabaseManager class

DropDatabase method


The DropDatabase method deletes a database file.

Prototype 

DropDatabase( parms As String )
Member of 

Description 

Deletes the database file. All information in the database file is lost. Fails if the specified database does not exist, or if there exist open connections at the time of DropDatabase is executed.

Parameters 

parms    The filename for the database.

Example 

The following example drops a database:

Dim parms As String
parms = "PALM_DB=Syb1;NT_FILE=c:\temp\ul_CustDB.udb"
DropDatabase(parms)

Contents Index CreateDatabaseWithParms method DropDatabaseWithParms method