How to enable and disable connection pooling?

 Posted by ArticlesMaint on 9/17/2009 | Category: ADO.NET Interview questions | Views: 11074

For .NET it is enabled by default but if you want to just make sure set Pooling=true in the connection string. To disable connection pooling set Pooling=false in connection string if it is an ADO.NET Connection. If it is an OLEDBConnection object set OLE DB Services=-4 in the connection string.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response