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