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

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -