CCeDBDatabase::Exists

This member function determines whether the specified database exists in the object store..

Syntax

static BOOL Exists( LPCWSTR szName );

static BOOL Exists( CEOID CeOID );

At a Glance

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

Parameters

szName
A null-terminated string containing the name of the database.
CeOID
The object identifier of the database.

Return Values

TRUE if the database exists in the object store. FALSE if the database could not be found.

Remarks

This is a static member function. You don't call it from a specific database object.

This function does not tell you whether the object with the specified object identifier is a database. It just tells you whether it exists.

See Also

CCeDBDatabase Overview, CCeDBDatabase Member Functions, Windows CE Database Classes