Contents Index CreateDatabaseWithParms method DropDatabaseWithParms method

UltraLite ActiveX User's Guide
  UltraLite ActiveX API Reference
    ULDatabaseManager class

DropDatabase method


The DropDatabase method deletes a database file.

Prototype 

DropDatabase( parms As String )
Member of UltraliteActiveX.ULDatabaseManager

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:

' eMbedded Visual Basic
open_parms = "ce_file=\tutCustomer.udb"
DropDatabase(open_parms)
// JScript
open_parms = "ce_file=\\tutCustomer.udb";
DropDatabase( open_parms );

Contents Index CreateDatabaseWithParms method DropDatabaseWithParms method