CCeDBDatabase::Delete

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

Syntax

BOOL Delete( );

At a Glance

Header file: Wcedb.h
Platforms:
Versions: 2.0 and later

Return Values

TRUE if the operation succeeded. FALSE if the database could not be deleted. Call ::GetLastError to determine why the operation failed.

Remarks

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

See Also

CCeDBDatabase Overview, CCeDBDatabase Member Functions, Windows CE Database Classes, CCeDBDatabase::Close, ::GetLastError