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
Post a Comment