Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
返回包含同步状态的 SyncResult 对象。
abstract SyncResult SyncParms.getSyncResult()
SyncResult 对象表示上一次调用 Connection.synchronize 方法的结果。
下面的示例说明了如何获取上一次调用 Connection.synchronize 方法的结果集:
conn.synchronize( mySyncParms ); SyncResult result = mySyncParms.getSyncResult(); display( "*** Synchronized *** sent=" + result.getSentRowCount() + ", received=" + result.getReceivedRowCount() );
此方法不返回上一个 SYNCHRONIZE SQL 语句的结果。要获取上一个 SYNCHRONIZE SQL 语句的 SyncResult 对象,请使用 getSyncResult 方法调用传入的 Connection 对象。