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

SQL Anywhere 11.0.1 (日本語) » Ultra Light - .NET プログラミング » Ultra Light .NET 2.0 API リファレンス » ULTableSchema クラス

 

GetColumnDefaultValue メソッド

指定されたカラムのデフォルト値を返します。

構文
Visual Basic
Public Function GetColumnDefaultValue( _
   ByVal columnID As Integer _
) As String
C#
public string  GetColumnDefaultValue(
   int columnID
);
パラメータ
  • columnID   カラムの ID 番号。値は、[0,ULCursorSchema.ColumnCount-1] の範囲内であることが必要です。テーブルの先頭カラムの ID 値は 0 です。

戻り値

指定されたカラムの文字列としてのデフォルト値。デフォルト値が NULL の場合は NULL 参照 (Visual Basic の Nothing)。

参照