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

SQL Anywhere 11.0.1 » UltraLite - .NET Programming » UltraLite .NET 2.0 API reference » ULTableSchema class

 

GetColumnDefaultValue method

Returns the default value of the specified column.

Syntax
Visual Basic
Public Function GetColumnDefaultValue( _
   ByVal columnID As Integer _
) As String
C#
public string  GetColumnDefaultValue(
   int columnID
);
Parameters
  • columnID   The ID number of the column. The value must be in the range [0,ULCursorSchema.ColumnCount-1]. The first column in a table has an ID value of zero.

Return value

The default value of the specified column as a string or a null reference (Nothing in Visual Basic) if the default value is null.

See also