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

SAP Sybase SQL Anywhere 16.0 » UltraLite - .NET Programming » UltraLite.NET application development


Schema information access

The objects in the table API represent tables, columns, indexes, and synchronization publications. Each object has a Schema property that provides access to information about the structure of that object.

You cannot modify the schema through the API. You can only retrieve information about the schema.

You can access the following schema objects and information:

  • ULDatabaseSchema   Exposes the number and names of the tables in the database, and the global properties such as the format of dates and times.

    Call ULConnection.Schema to obtain a ULDatabaseSchema object.

  • ULTableSchema   The number and names of the columns and indexes for this table.

    Call ULTable.Schema to obtain a ULTableSchema object.

  • ULIndexSchema   Information about the column in the index. As an index has no data directly associated with it there is no separate Index class, just a ULIndexSchema class.

    Call the ULTableSchema.GetIndex, ULTableSchema.GetOptimalIndex, or ULTableSchema.GetPrimaryKey method to obtain a ULIndexSchema object. See and .

 See also