Need to clear your connection pool? You can with .NET 2.0.

If you need to clear your connection pool in a .NET application, with the .NET 2.0 Whidbey framework, you will have the option of clearing the pool.  ADO.NET 2.0 provides two static methods for doing this.

  • SqlConnection.ClearPool( SqlConnectionObject ).
  • SqlConnection.ClearAllPools().

According to what I have read, this feature will be available in the .NET 2.0 Sql Server and Oracle Clients from Microsoft.

Enjoy,
Wally

3 Comments

Comments have been disabled for this content.