I have an application that does not allow SqlConnection.ClearAllPools < / Code>.
There is a case where the connection is still there. This connection was created in another application domain.
So I wonder which connections are closed from SqlConnection.ClearAllPools
?
- Are there connections only opened by calling process (or appmen)?
- All the connections opened by this machine?
- ...?
This only closes all the connections opened by the calling process. It emits all the connections pools that are bound to process. :
Connection pools and connection strings go hand in hand Each connection pool is connected with a separate connection string and that too, it is specific to the application what it means in return - each A separate connection pool is maintained for separate process, AP domain and connection string.
Comments
Post a Comment