<add key="maindata\Connection" value="server=(local);Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=Northwind;Connection Timeout=30" />You can also access this setting by means of the ConnectionTimeout property of the connection object.