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

SQL Anywhere 11.0.1 (日本語) » SQL Anywhere サーバ - プログラミング » SQL Anywhere データ・アクセス API » SQL Anywhere .NET 2.0 API リファレンス » iAnywhere.Data.SQLAnywhere ネームスペース (.NET 2.0) » SACommand クラス

 

CommandTimeout プロパティ

コマンドを実行しようとするのを中止し、エラーを生成するまでの待機時間 (秒単位) を取得または設定します。

構文
Visual Basic

Public Overrides Property CommandTimeout As Integer
C#

public override int CommandTimeout { get; set; }
プロパティ値

デフォルト値は 30 秒です。

備考

値が 0 の場合、制限はありません。値を 0 にすると、コマンドを無期限に実行しようとしてしまうため、値は 0 にしないでください。

参照