Can you explain how to enable and disable connection pooling?

Answer

Set Pooling=true. However, it is enabled by default in .NET.

To disable connection pooling set Pooling=false in connection string if it is an ADO.NET Connection. 

If it is an OLEDBConnection object set OLEDB Services=-4 in the connection string.

All ado.net Questions

Ask your interview questions on ado-net

Write Your comment or Questions if you want the answers on ado-net from ado-net Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---