Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » SQL Anywhere 服务器 - 编程 » SQL Anywhere 数据库工具接口 » 数据库工具接口 » DBTools 结构

 

an_erase_db 结构

保存有关使用 DBTools 库消除数据库所需的信息。

语法
typedef struct an_erase_db {
    unsigned short      version;
    const char *        dbname;
    MSG_CALLBACK        confirmrtn;
    MSG_CALLBACK        errorrtn;
    MSG_CALLBACK        msgrtn;
    a_bit_field         quiet : 1;
    a_bit_field         erase : 1;
    const char *        encryption_key;
} an_erase_db;
成员
成员 说明
version DBTools 版本号。
dbname 要消除的数据库文件名。
confirmrtn 用于确认操作的回调例程。
errorrtn 用于处理错误消息的回调例程。
msgrtn 用于处理信息消息的回调例程。
quiet 在不打印消息 (1) 或打印消息 (0) 的情况下运行。
erase 在不进行确认 (1) 或进行确认 (0) 的情况下消除。
encryption_key 数据库文件的加密密钥。
另请参见