EntityConnection.ConnectionTimeout EntityConnection.ConnectionTimeout EntityConnection.ConnectionTimeout Property

Definition

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

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1065:DoNotRaiseExceptionsInUnexpectedLocations")]
public override int ConnectionTimeout { get; }
member this.ConnectionTimeout : int
Public Overrides ReadOnly Property ConnectionTimeout As Integer

Property Value

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

Exceptions

Applies to