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

SQL Anywhere 11.0.1 (中文) » UltraLite - C 及 C++ 编程 » API 参考 » UltraLite C++ API 参考

 

ul_synch_result 结构

用于保存同步结果,以便在应用程序中可以采取相应操作的结构。

语法
public ul_synch_result
属性
名称 类型 说明
auth_status ul_auth_status

同步验证状态。

auth_value ul_s_long

MobiLink 同步服务器用于确定 auth_status 结果的值。

ignored_rows ul_bool

如果忽略了已上载的行,则设置为 true;否则,设置为 false。

partial_download_retained ul_bool

表示已保留了部分下载的值。请参见 keep_partial_download。

sql_code an_sql_code

上一次同步中的 SQL 代码。

sql_error_string char

与 sql_code 中错误代码相关联的错误文本。

status ul_synch_status

观察器函数使用的状态信息。请参见观察器。

stream_error ul_stream_error

通信流错误信息。

timestamp SQLDATETIME

上一次同步的时间和日期。

upload_ok ul_bool

如果上载成功,则设置为 true;否则,设置为 false。