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) » SAConnection クラス

 

ConnectionTimeout プロパティ

接続試行がエラーでタイムアウトするまでの秒数を取得します。

構文
Visual Basic

Public Overrides Readonly Property ConnectionTimeout As Integer
C#

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

15 秒

次の文は、ConnectionTimeout の値を表示します。

MessageBox.Show( conn.ConnectionTimeout.ToString( ) );
参照