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 编程 » UltraLite .NET 2.0 API 参考 » ULTableSchema 类

 

IsColumnCurrentTime 方法

检查指定列的缺省值是否设置为当前时间 (ULDbType.Time)。

语法
Visual Basic
Public Function IsColumnCurrentTime( _
   ByVal columnID As Integer _
) As Boolean
C#
public bool IsColumnCurrentTime(
   int columnID
);
参数
  • columnID   列的 ID 号。值必须在 [0,ULCursorSchema.ColumnCount-1] 范围内。表中第一列的 ID 值为 0。

返回值

如果列缺省为当前时间,则返回 true;如果列不是缺省为当前时间,则返回 false。

另请参见