CCeDBDatabase::Delete

This method removes the database from the object store, closing it if necessary.

At a Glance

Header file: Wcedb.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 2.0 and later

Syntax

BOOL Delete( );

Return Values

TRUE indicates that the operation succeeded. FALSE indicates that the database could not be deleted. To get extended error information, call GetLastError.

Remarks

This method does not delete the CCeDBDatabase object but, after calling it, you cannot call any other methods on the database, except for Create and Exists.

See Also

CCeDBDatabase::Close, GetLastError