Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System.Data.SqlClient;
- namespace R902PoolConexiones
- {
- class R902Programa
- {
- static void Main(string[] args)
- {
- using (SqlConnection conexion = new SqlConnection())
- {
- conexion.ConnectionString = @"Data source =.\SQLEXPRESS; Initial catalog = Northwind;Integrated Security=SSPI;" +
- "Min Pool Size= 5; Max Pool Size = 15; Connection Reset = True; Connection Lifetime = 600";
- conexion.Open();
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement