SqlConnection.ClearAllPools problem

I am using VSTS 2008 + .Net 3.5 + C # + ADO.Net + SQL Server 2008 Enterprise. I am researching http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlconnection.clearallpools.aspx about the SqlConnection.ClearAllPools method. I want to know that the behavior of this method is that if any connections from the connection pool are inactive when the ClearAllPools method is called, will such idle connections be disconnected from SQL Server? Is this a correct understanding?

I didn't find any related comments from the MSDN link.

+2


source to share


1 answer


Answer: Yes. But situations in which this is useful are rare.



+2


source







All Articles