DbConnection.ConnectionTimeout プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
接続を確立してから試行を終了し、エラーを生成するまでの待機時間 (秒単位) を取得します。
public:
virtual property int ConnectionTimeout { int get(); };
public virtual int ConnectionTimeout { get; }
member this.ConnectionTimeout : int
Public Overridable ReadOnly Property ConnectionTimeout As Integer
プロパティ値
接続が開くのを待機する時間 (秒単位)。 既定値は、使用している接続の特定の種類によって決まります。