X
HOME HTML CSS JAVASCRIPT SQL PHP JQUERY XML ASP.NET MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

ADO ConnectionTimeout Property


Connection Object Reference Complete Connection Object Reference

The ConnectionTimeout property sets or returns the number of seconds to wait for a connection to open, before canceling the attempt and generate an error. Default is 15 seconds.

Syntax

objconn.ConnectionTimeout

Example

<%
set conn=Server.CreateObject("ADODB.Connection")
conn.ConnectionString="Provider=Microsoft.Jet.OLEDB.4.0"
conn.ConnectionTimeout=30
conn.open server.mappath("database.mdb")

conn.close
%>


Connection Object Reference Complete Connection Object Reference

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates FREE Website Templates Free HTML Templates

SHARE THIS PAGE

facebook