Information
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

Entity Framework 6.0
 

Gets the number of seconds to wait when attempting to establish a connection before ending the attempt and generating an error.

Namespace:   System.Data.Entity.Core.EntityClient
Assembly:  EntityFramework (in EntityFramework.dll)

public:
[SuppressMessageAttribute("Microsoft.Design", "CA1065:DoNotRaiseExceptionsInUnexpectedLocations")]
property int ConnectionTimeout {
	virtual int get() override;
}

Property Value

Type: System::Int32

The time (in seconds) to wait for a connection to open. The default value is the underlying data provider's default time-out.

Return to top
Show: