Accessing UltraLite database properties

UltraLite provides a set of properties that you can retrieve for a database.

You can change the settings of any database property that does not correspond to a database creation parameter.

 To browse UltraLite database properties (Sybase Central)
  1. Connect to the database.

  2. Right-click the database and choose Properties.

    In the Database Properties window, database properties are listed on the General and Synchronization Information tabs. On the Synchronization Information tab, the database properties are listed alphabetically by the property name. To sort database properties by the value, click the Value column.

 To get the value of a database property (C/C++)
  • In C/C++, call the GetDatabaseProperty function.

    For example, to get the value of the conn_count property, call:

    GetDatabaseProperty( ul_database_property_id conn_count )

    To get the value of the char_set property, call:

    GetDatabaseProperty( ul_database_property_id char_set )
 See also