The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
EntityConnection::ConnectionTimeout Property
.NET Framework (current version)
Gets the number of seconds to wait when attempting to establish a connection before ending the attempt and generating an error.
Assembly: System.Data.Entity (in System.Data.Entity.dll)
Property Value
Type: System::Int32The time (in seconds) to wait for a connection to open. The default value is the underlying data provider's default time-out.
Implements
IDbConnection::ConnectionTimeout| Exception | Condition |
|---|---|
| ArgumentException | The value set is less than 0. |
Returns zero if the underlying data provider is not known.
.NET Framework
Available since 3.5
Available since 3.5
Show: