A RetroSearch Logo

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

Search Query:

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

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

SqlConnection.ClearPool(SqlConnection) Method Definition

Empties the connection pool associated with the specified connection.

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

ClearPool(SqlConnection) 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.


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