c# - Does Sql Server Compact Edition 3.5 query timeout? -


i realized sqlceconnection , sqlcecommand objects timeout properties readonly default value set 0. mean queries sqlce database never timeout?

no timeout, can define timeout in connection string this

sqlceconnection conn = new sqlceconnection(); conn.connectionstring = "persist security info=false; data source = northwind.sdf;" +  "password = <password>; server=mysqlserver;connect timeout=30"; 

this whay msdn has say. connectiontimeout property time (in seconds) wait connection open. value 0 in sql server compact readonly.


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -