次の方法で共有


CeDeleteDatabase (CEDB) (Compact 2013)

3/26/2014

This function removes a database from the object store. This function is obsolete. Call the CeDeleteDatabaseEx (CEDB) function instead.

Syntax

BOOL CeDeleteDatabase(
  CEOID oidDbase
); 

Parameters

  • oidDbase
    [in] Object identifier of the database to be deleted.

Return Value

TRUE indicates success. FALSE indicates failure. To get extended error information, call GetLastError. The following table lists possible values.

Value

Description

ERROR_INVALID_PARAMETER

Indicates that a parameter was invalid.

ERROR_SHARING_VIOLATION

Indicates that another thread has an open handle to the database.

Remarks

This function deletes a database, including all records in the database.

Requirements

Header

windbase.h

Library

coredll.lib

See Also

Reference

CEDB Functions
CeDeleteDatabaseEx (CEDB)
CeCreateDatabaseEx (CEDB)
CeOidGetInfoEx (CEDB)