A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.microsoft.com/en-us/dotnet/api/system.data.sqlclient.sqlconnection.clearpool below:

SqlConnection.ClearPool(SqlConnection) Method (System.Data.SqlClient) | Microsoft Learn

SqlConnection.ClearPool(SqlConnection) Method Definition

Empties the connection pool associated with the specified connection.

public:
 static void ClearPool(System::Data::SqlClient::SqlConnection ^ connection);
public static void ClearPool(System.Data.SqlClient.SqlConnection connection);
static member ClearPool : System.Data.SqlClient.SqlConnection -> unit
Public Shared Sub ClearPool (connection As SqlConnection)
Parameters Remarks

ClearPool clears the connection pool that is associated with the connection. If additional connections associated with connection are in use at the time of the call, they are marked appropriately and are discarded (instead of being returned to the pool) when Close is called on them.

See also

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this article

Was this page helpful?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4