EntityConnection.ConnectionTimeout Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the number of seconds to wait when attempting to establish a connection before ending the attempt and generating an error.
public:
virtual property int ConnectionTimeout { int get(); };
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
The value set is less than 0.
Remarks
Returns zero if the underlying data provider is not known.
Applies to
Surađujte s nama na GitHubu
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.