DbConnection.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 time to wait (in seconds) while establishing a connection before terminating the attempt and generating an error.
public:
virtual property int ConnectionTimeout { int get(); };
public virtual int ConnectionTimeout { get; }
member this.ConnectionTimeout : int
Public Overridable ReadOnly Property ConnectionTimeout As Integer
Property Value
The time (in seconds) to wait for a connection to open. The default value is determined by the specific type of connection that you are using.
Implements
Applies to
See also
Работете съвместно с нас в GitHub
Източникът за това съдържание може да бъде намерен в GitHub, където можете също да създавате и преглеждате проблеми и да изтегляте искания. За повече информация вижте нашето ръководство за сътрудник.