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

SQL Anywhere 11.0.0 » UltraLite - C and C++ Programming » API Reference » UltraLite C++ API Reference » UltraLite_Cursor_iface class

 

SetSuspend function

Synopsis
void UltraLite_Cursor_iface::SetSuspend(
  bool suspend
)
Parameters
  • suspend¬†¬† True suspends the connection. This allows you to restore the database's state when the database is reopened.

Remarks

Sets the value of the Suspend property.

Use the persistent name parameter when opening the associated object to identify suspended cursors. If you do not supply a persistent name parameter for this cursor, you cannot suspend it.

Returns
  • True, if the cursor is suspended and restored when the application reopens the database.
  • False, if the cursor is not suspended.