EntityConnection.ConnectionTimeout Property

 

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)

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

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.