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 - .NET Programming » UltraLite .NET 2.0 API Reference » ULTableSchema class


IsColumnAutoIncrement method

Checks whether the specified column's default is set to autoincrement.

Visual Basic

Public Function IsColumnAutoIncrement( _
   ByVal columnID As Integer _
) As Boolean

public bool IsColumnAutoIncrement(
   int columnID
  • columnID¬†¬† The ID number of the column. The value must be in the range [0,ULCursorSchema.ColumnCount-1]. The first column in the table has an ID value of zero.

Return value

True if the column is autoincrementing, false if it is not autoincrementing.

See also